Skip to content

Latest commit

 

History

History
110 lines (78 loc) · 3.45 KB

README.md

File metadata and controls

110 lines (78 loc) · 3.45 KB

Docker-tutorial

Docker 教程 --- Linux-relase: centos 6.5 - inspired by Andrew T. Baker

Docker 推荐文章

Docker 安装

  ./docker_install.sh

Docker 配置

  // 配置 docker image路径到/mnt/docker 默认路径是/var/lib/docker 用户可编辑选择自己的docker image的储存路径
  ./docker_config.sh

Docker 开启

  // docker 开启启动  已经 docker 服务开启
  ./start_docker.sh

Docker 命令

  • 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

FROM scratch
ADD
WORKDIR
VOLUME
EXPOSE
ENTRYPOINT
CMD

Docker 生态圈

C 语言原理

Developed By

田浩,目前在珠海从事Docker开发及运维工作。

Liscence

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.