User Tools

Site Tools


cmd

This is an old revision of the document!


Docker Cheat Sheet

https://www.docker.com/sites/default/files/Docker_CheatSheet_08.09.2016_0.pdf

detach a container shell: `CTRL+p, CTRL+q`

attach a running container:

docker attach <container_name or id>

restart a stopped container:

docker start  `docker ps -q -l` # restart it in the background
docker attach `docker ps -q -l` # reattach the terminal & stdin
cmd.1528856433.txt.gz · Last modified: by fe80:12ba:4015:35da:f639:426a:af8d:5948

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki