标签:rom 注册邮箱 gac UI during url etc team 系统
docker info
docker images [OPTIONS] [REPOSITORY]
-a,--all=false 默认并不显示中间层镜像
docker inspect [OPTIONS] CONTAINER|IMAGE [CONTAINER|IMAGE...]
docker rmi [OPTIONS] IMAGE [IMAGE...]
-f,--force=false Force removal of the image
docker search [OPTIONS] TERM
--automated=false Only show automated builds
docker pull [OPTIONS] NAME [:TAG]
-a.--all-tags=false Download all tagged images in the repository
docker push NAME[:TAG]
输入DockerHub上的用户名,密码,注册邮箱
docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
-a, --authof="" Author. eg. "John Hannibal Smith Hannibal@a-team.com"
docker build [OPTIONS] PATH | URL | - (path,url指dockerfile构建的文件路径)
--force-rm=false
#First Dockerfile FROM ubuntu:14.04 MAINTAINER dormancypress "dormancypress@outlook.com" RUN apt-get update RUN apt-get install -y nginx EXPOSE 80
docker build -t=‘dormancypress/df_test1‘ .(.表示当前目录)
Docker基本命令与使用 —— Docker镜像与仓库(二)
标签:rom 注册邮箱 gac UI during url etc team 系统
原文地址:http://www.cnblogs.com/Hai--D/p/6938241.html