图像

docker notes

just note of docker

sudo docker images
# list images
sudo docker ps
# list process of docker
sudo docker logs hungry_wing
# view the logs of hungry_wing
sudo docker stop hungry_wing
# stop the process hungry_wing
sudo docker run -t -i dock_image_name /bin/bash
# run bash in the docker
sudo docker ps -a -q
# list all docker process id
sudo docker rm mad_albattani
# remove docker image process
sudo docker rmi docker_image_name
# remove docker image

发表评论