Skip to content

Docker

command description reference
docker pull <name> Pull an image or a repository from a registry docker pull
docker run -t -i ubuntu /bin/bash run ubuntu container (make sure to do apt-get update in order to install stuff)
service docker start Start docker daemon
service docker stop Stop docker daemon
docker run <container_id>
docker attach <container_id>
docker ps -a
docker images -a
docker rmi <image_id>
docker container ls -a
docker rm <container_id>
docker container prune
docker system df Show docker disk usage system_df