Docker 教程 --- Linux-relase: centos 6.5 - inspired by Andrew T. Baker
./docker_install.sh
// 配置 docker image路径到/mnt/docker 默认路径是/var/lib/docker 用户可编辑选择自己的docker image的储存路径
./docker_config.sh
// docker 开启启动 已经 docker 服务开启
./start_docker.sh
-
run
- docker images 运行
-
images
- docker images 查看
-
ps
- docker containers 查看
-
rm
- docker containers 删除
-
rmi
- docker images 删除
-
pull
- dockerhub images 拉取
-
push
- dockerhub images 更新
-
commit
- dockerhub images 提交
-
exec
- docker containers 运行时修改
- Dockerfile
- dockerhub images 提交
FROM scratch
ADD
WORKDIR
VOLUME
EXPOSE
ENTRYPOINT
CMD
####llitfkitfk
Email - [email protected]
QQ - 281196448
Website - htian.info
The MIT License (MIT)
Copyright (c) 2014 Tian Hao
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.