Docker经常使用命令
Usage: docker [OPTIONS] COMMAND [arg...]
-H=[unix:///var/run/docker.sock]: tcp://host:port to bind/connect to or unix://path/to/socket to use
A self-sufficient runtime for linux containers.
Commands:
attach Attach to a running container
build Build a container from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders from the containers filesystem to the host path
diff Inspect changes on a container's filesystem
events Get real time events from the server
export Stream the contents of a container as a tar archive
history Show the history of an image
images List images
import Create a new filesystem image from the contents of a tarball
info Display system-wide information
insert Insert a file in an image
inspect Return low-level information on a container
kill Kill a running container
load Load an image from a tar archive
login Register or Login to the docker registry server
logs Fetch the logs of a container
port Lookup the public-facing port which is NAT-ed to PRIVATE_PORT
ps List containers
pull Pull an image or a repository from the docker registry server
push Push an image or a repository to the docker registry server
restart Restart a running container
rm Remove one or more containers
rmi Remove one or more images
run Run a command in a new container
save Save an image to a tar archive
search Search for an image in the docker index
start Start a stopped container
stop Stop a running container
tag Tag an image into a repository
top Lookup the running processes of a container
version Show the docker version information
wait Block until a container stops, then print its exit code
最新文章
- Android课程---布局管理器之相对布局(二)
- linux C学习笔记05--信号量与共享内存(进程同步)
- Android View坐标getLeft, getRight, getTop, getBottom
- UVALive 4222 Dance 模拟题
- Struts2的运行原理和运行与原理
- JUnit3 结合一个除法的单元测试说明Assert.fail()的用法
- Makefile里调用Shell注意点
- 为什么不要在android或者ios上直连mysql或者sqlserver之类的数据库(跳大神)
- uva 571 素数的性质
- php中的多条件查询
- 最新鲜最详细的Android SDK下载安装及配置教程
- 责任链模式(Chain of Responsibility)
- 2018年6月,最新php工程师面试总结
- HTML中input type=";text";和type=";password"; 显示的长度不一样
- 【C语言】字节对齐问题(以32位系统为例)
- 微信7.0以上版本fiddler、Charles抓包报HTTPS证书信任问题通报
- Java分布式锁的三种实现方案(redis)
- vue项目使用vw单位适配移动端方法
- WebXml.com.cn 中国股票行情数据 WEB 服务(支持深圳和上海股市的全部基金、债券和股票),数据即时更新
- CentOS 6.5 下搭建NTP服务器
热门文章
- 解决intellij idea中使用live edit插件不能在chrome即时显示css变化的方法(html可以)
- [BZOJ 1195] 最短母串
- 【匈牙利算法】BZOJ1059-[ZJOI2007]矩阵游戏
- Problem Q: 多项式求和x+(x^2)/2!+(x^3)/3!+...
- Chrome插件在页面上直接绑定JavaScript事件提示Refused to execute inline event handler because it violates the following Co
- linux下安装python2.7.5和MYSQLdb
- 数据访问与sql语句的管理(一)
- 使用原生JS进行字符串转对象
- 开发板无法ping通虚拟机的问题解决一例
- 基于jquery类库的绘制二维码的插件jquery.qrcode.js