-
Notifications
You must be signed in to change notification settings - Fork 0
Docker
James Taylor edited this page Dec 11, 2020
·
6 revisions
Random collection of docker commands!
docker container run -t <image> <cmd>
docker container exec -it <container> <cmd>
docker container ls
docker container run --detach --publish 8080:80 --name nginx nginx
docker container inspect nginx
docker container logs <container>
docker system prune
docker image build -t <name> .
docker image ls
play-with-docker.com