0
点赞
收藏
分享

微信扫一扫

UE4运用C++和框架开发坦克大战教程笔记(十八)(第55~57集)

言午栩 2024-02-08 阅读 7
docker

note 1:

stop and remove a container 

docker ps 

docker stop containerID

docker rm containerID

Under normal circumstances ,you can't  remove  the container  dosen't   at  stop status. if you need 

you can add a  -d (force) param to  carry out it .

docker rm -f containerID

note 2 :

registry VS  repository

note 3 :

list locally images 

docker image ls 

note 4 :

rename a image

docker tag [localImage] [YOUR-USER-NAME/renamedimage]

note 5:

push a image to dockerHub

docker push gyk666/myImage[:mytag]
#If you don't specify a tag, Docker uses a tag called latest.

note 6:

remove a image 

docker rmi <image-id-or-name>

remove all of unuse images 

docker image prune -a
举报

相关推荐

0 条评论