标签:font bit tar creat months 仓库 hello cer chapter
Docker的常用命令
帮助命令
docker version
docker info
docker --help
镜像命令
docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE hello-world latest 9f5834b25059 14 months ago 1.84 kB
docker search 搜索某个镜像名称(从http://hub.docker.com)
>> docker search tomcat NAME DESCRIPTION STARS OFFICIAL AUTOMATED tomcat Apache Tomcat is an open source implementa... 2659 [OK] tomee Apache TomEE is an all-Apache Java EE cert... 75 [OK] dordoka/tomcat Ubuntu 14.04, Oracle JDK 8 and Tomcat 8 ba... 53 [OK] bitnami/tomcat Bitnami Tomcat Docker Image 31 [OK] kubeguide/tomcat-app Tomcat image for Chapter 1 28 [OK]
docker pull 镜像名称[:TAG]
下载镜像
[root@hadoop1 /]# docker pull tomcat latest: Pulling from tomcat ed7bc7435c95: Pull complete ...... Digest: sha256:613e0884313f0da2e3b536c0c1c1850a9df405055e78320eb24b1559b708fa3c Status: Downloaded newer image for tomcat:latest
docker rmi 镜像名称[:TAG]
删除镜像
标签:font bit tar creat months 仓库 hello cer chapter
原文地址:https://www.cnblogs.com/noteaddr/p/13140306.html