docker run -it ubuntu:14.04 /bin/bash 等同于docker run -i -t ubuntu:14.04 /bin/bash; 意思是运行一个docker容器,使用ubuntu 14.04版本 交互操作模式为shell 参数-i是指定交互模式 -t 是指定环境镜像;
docker search <搜索关键字> 搜索相关的镜像
docker pull <镜像名称>:<版本> 获取一个新的镜像到本地
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All commentsSpeak rationally on civilized internet, please comply with News Comment Service Agreement