My docker cheat-sheet
Open a shell in container
Or exec any program inside a running container:
$ docker exec -it <container-id-or-name> sh
Remove ALL containers
$ docker rm -f $(docker ps -aq)
Remove ALL images
$ docker rmi $(docker images -aq)
[ show comments ]
blog comments powered by Disqus