docker 删除和拉取镜像

删除镜像

# docker rmi -f 镜像id   		 # 删除指定镜像
docker rmi -f 25d5f6s564 # docker rmi -f 镜像id 镜像id # 删除多个镜像
docker rmi -f 25d5f6s564 3ed7f8top # 删除所有镜像
docker rmi -f $(docker images -aq)

拉取镜像

# docker pull 镜像名
docker pull tomcat

官方文档: https://docs.docker.com/engine/reference/commandline/pull/

上一篇:解决 docker.io 上拉取 images Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout


下一篇:STM8L --- External interrupt