Week 12 Lecture (2)
Week 12 Lecture (2)
Environments
2. Introduction to Containerization
What is Containerization?
Benefits of Containerization
3. Introduction to Docker
What is Docker?
Install Docker:
Verify installation:
docker --version
docker ps
Create a Dockerfile:
FROM ubuntu
RUN apt update && apt install -y nginx
CMD ["nginx", "-g", "daemon off;"]
curl http://localhost:8080
List networks:
docker network ls
Create a volume: