- docker images
- docker ps
- docker pull
- docker push
- docker run
- docker inspect
- docker exec
docker pull ubuntu:latest
docker run -it ubuntu:latest /bin/bash
- mkdir ~/html
- echo 'plop' > ~/html/index.html
docker pull nginx:latest
docker run --name some-nginx -v `pwd`:/usr/share/nginx/html:ro -d nginx
- How can I get static content?
- docker inspect
docker pull nginx:latest
docker run --name some-nginx -v `pwd`:/usr/share/nginx/html:ro -p 8080: 80 -d nginx
- create Dockerfile
docker build -t my-nginx:my-tag .