skip to content
Ivan's wiki
Site Tools
Search
Tools
Show pagesource
Backlinks
Recent Changes
Media Manager
Sitemap
>
Recent Changes
Media Manager
Sitemap
gist-docker
This page is read only. You can view the source, but not change it.
# Docker (Reference) This page includes a myriad docker commands for reference. ## Basic ### Containers Run `ubuntu:latest` image (will do `docker pull` automatically if you don't have it) ``` docker run -it --rm ubuntu:latest ``` ### Images Pull `ubuntu:latest` image ``` docker pull ubuntu:latest ``` Show currently installed images ``` docker images ``` Remove `ubuntu:latest` image (you can pull it again) ``` docker rmi ubuntu:latest ``` Rename a docker image from `ubuntu:latest` to `myimage:latest` (retag, then remove original image) ``` docker tag ubuntu:latest myimage:latest docker rmi ubuntu:latest ```
Page Tools
Show pagesource
Backlinks
Back to top