Docker是PaaS供应商dotCloud开源的一个基于LXC 的高级容器引擎,源代码托管在 GitHub 上, 基于Go语言开发并遵从Apache 2.0协议开源。Docker提供了一种在安全、可重复的环境中自动部署软件的方式。

关于Docker的架构,查看官方介绍

Docker致力于提供:

1. 简单、轻量的建模方式

2. 开发运维职责的逻辑分离,降低开发与生产环境的不一致性。

3. 快速高效的开发生命周期

4. 面向服务的架构,推荐单个容器只运行一个应用程序或进程

Docker组件

Docker核心组件:

Docker客户端和服务器

Docker镜像

Registry

Docker容器

Docker技术组件:

1) libcontainer,一个原生的linux 容器格式

2) Linux 内核的命名空间(namespace),用户隔离文件系统、进程和网络

Docker安装和启动

1 安装

如下安装适用于Redhat操作系统。

安装方式有两种:使用yum在线安装,或者使用安装包安装。

使用yum方式安装

 //1 更新yum 安装包index
$ sudo yum makecache fast //2. 安装docker最新版本
$ sudo yum -y install docker-engine // 或者安装特定版本
$ yum list docker-engine.x86_64 --showduplicates |sort -r
$ sudo yum -y install docker-engine-<VERSION_STRING>

使用安装包安装

1 下载对应操作系统版本的包,比如对应RHCE的rpm包
2 安装
$ sudo yum install package.rpm

2 Docker启动

$ sudo systemctl start docker

验证Docker是否安装成功

$ sudo docker run hello-world

使用docker version查看版本

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATYAAAEUCAIAAAAuuo3DAAAAAXNSR0IArs4c6QAAAdVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgog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Dxj79bs27GKrNnDgFzy/jmPiLypsgReXH7njp2CYEmRwHkuRnr9oRqHlx2lJosIS27ZskuCB118mOHAM+Oiwmipor4l/2ZcaFgUdW1jOIamX0uA02/Rhor7frsjDvkfG/HPE1l1zQfJZy5nvUEkjMOjdn1+/7b8wxfZIWqf7ydHXs4ZNXnFCKTgn2v5jIM1sLK+nx5B/xF1OynTzseGsJ1ymGU+jmKEr06rYfSG5mmN/kzxN0XOzqhcB0PG1Li3zYuENDzHkMhr2MxzN1Wa6TUN0Nu9Y63G2ZA1G2dffi7ICvlJalLiGNeA0Ojm5uaEswGJ3xeq4MWetbGiIWtFyvNir6S7bjwVsaa5Oe3isTR+LzJPjHDgbcMj52gumMzw7R9DgCg3zNFxnP5w9IHXlIQniJqYW411dNQfLkOx6FuMVpIDF3t/NIHQ3YaGBsqiIh056mvi785I5DlABs0Hi9L+iebITk1Hl1WLD8KB29mPsTHR5dgUFkICkAAkAAlAApAAJAAJQAKQACQACUACkEBfJwAestnXpwjnBwlAApAAJAAJ/FIC/weZVLfTS9U+tgAAAABJRU5ErkJggg==" alt="" />

更多参考官方文档

基本命令

1 查看Docker所有的命令

docker
Usage:    docker COMMAND

A self-sufficient runtime for containers

Options:
--config string Location of client config files (default "/Users/liuchun/.docker")
-D, --debug Enable debug mode
--help Print usage
-H, --host list Daemon socket(s) to connect to (default [])
-l, --log-level string Set the logging level ("debug", "info", "warn", "error", "fatal") (default "info")
--tls Use TLS; implied by --tlsverify
--tlscacert string Trust certs signed only by this CA (default "/Users/liuchun/.docker/ca.pem")
--tlscert string Path to TLS certificate file (default "/Users/liuchun/.docker/cert.pem")
--tlskey string Path to TLS key file (default "/Users/liuchun/.docker/key.pem")
--tlsverify Use TLS and verify the remote
-v, --version Print version information and quit Management Commands:
checkpoint Manage checkpoints
container Manage containers
image Manage images
network Manage networks
node Manage Swarm nodes
plugin Manage plugins
secret Manage Docker secrets
service Manage services
stack Manage Docker stacks
swarm Manage Swarm
system Manage Docker
volume Manage volumes Commands:
attach Attach to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
deploy Deploy a new stack or update an existing stack
diff Inspect changes on a container's filesystem
events Get real time events from the server
exec Run a command in a running container
export Export a container's filesystem as a tar archive
history Show the history of an image
images List images
import Import the contents from a tarball to create a filesystem image
info Display system-wide information
inspect Return low-level information on Docker objects
kill Kill one or more running containers
load Load an image from a tar archive or STDIN
login Log in to a Docker registry
logout Log out from a Docker registry
logs Fetch the logs of a container
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
ps List containers
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
rmi Remove one or more images
run Run a command in a new container
save Save one or more images to a tar archive (streamed to STDOUT by default)
search Search the Docker Hub for images
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
version Show the Docker version information
wait Block until one or more containers stop, then print their exit codes Run 'docker COMMAND --help' for more information on a command.

docker command

2 查看指定命令的帮助

docker command --help,例如启动命令docker run --help

Docker配置服务

RHCE7 参考https://docs.docker.com/engine/admin/

运行一条命令的example

# docker run busybox echo "Hello, this is new msg"

# docker ps  //查看容器

# docker ps -a // 查看到已经停止的容器

sample

3 容器管理

docker run:  命令用来创建运行容器

docker ps:

用来查看正在运行的容器列表

几个最常用的参数:

  • -a:查看所有容器,含停止运行的
  • -l:查看刚启动的容器
  • -q:只显示容器ID

docker start:  启动容器

我们可以通过 docker attach 连接到某个正在运行的container。

docker stop: 停止容器

docker inspect:  查看Docker容器或镜像的一些内部信息

docker rm:  删除容器操作,默认不可以删除运行的容器,但提供了强制删除的参数-f

docker top: 查看容器中运行的进程信息,显示容器中进程的PID,UID,PPID,时间,tty等信息。

4 镜像管理

docker images: 查看镜像列表

其中:

  1. REPOSITORY:仓库名称
  2. TAG:标签名,一个仓库可以有若干个标签对应不同的镜像,默认都是latest
  3. IMAGE ID:镜像ID
  4. CREATED:创建时间,注意不是本地的pull时间
  5. SIZE:镜像大小

docker pull: 获取镜像, 从Docker Hub上pull某一个镜像

创建镜像: 最常用的是写一个Dockerfile,从Dockerfile里创建新的镜像。

清理镜像:使用docker rmi来删除镜像,删除镜像前要用docker rm删除对应的container

Docker的概念及基本用法的更多相关文章

  1. Docker 概念及基本用法

    Docker 概念及基本用法 一. 本节内容简介 本实验中我们初步接触Docker的概念和基本用法.需要依次完成下面几项任务: 理解Docker是什么 学习如何在Linux上安装Docker 学习如何 ...

  2. Docker新手入门:基本用法

    Docker新手入门:基本用法 1.Docker简介 1.1 第一本Docker书 工作中不断碰到Docker,今天终于算是正式开始学习了.在挑选系统学习Docker以及虚拟化技术的书籍时还碰到了不少 ...

  3. Docker教程:docker的概念及安装

    http://blog.csdn.net/pipisorry/article/details/50754385 Why docker 对于运维来说,Docker提供了一种可移植的标准化部署过程,使得规 ...

  4. 菜鸟系列docker——docker基本概念(1)

    docker基本概念 1.准备 这里先介绍容器技术,后续再介绍docker.docker是容器的一种,除docker以外,还存在coreos.不过在当前趋势下容器和docker基本上可以划为等号了. ...

  5. docker核心概念(镜像、容器、仓库)及基本操作

    概要 docker是一种linux容器技术.容器有效的将由单个操作系统挂管理的资源划分到孤立的组中,以便更好的在组之间平衡有冲突的资源使用需求.可简单理解为一种沙盒 .每个容器内运行一个应用,不同的容 ...

  6. Docker 核心概念、安装、端口映射及常用操作命令,详细到令人发指。

    Docker简介 Docker是开源应用容器引擎,轻量级容器技术. 基于Go语言,并遵循Apache2.0协议开源 Docker可以让开发者打包他们的应用以及依赖包到一个轻量级.可移植的容器中,然后发 ...

  7. Docker 基础概念科普 和 常用操作介绍

    Docker 基础概念 Docker是什么?         Docker的思想来自于集装箱,集装箱解决了:在一艘大船上,可以把货物规整的摆放起来.并且各种各样的货物被集装箱标准化了,集装箱和集装箱之 ...

  8. 后端技术杂谈9:先搞懂Docker核心概念吧

    本系列文章将整理到我在GitHub上的<Java面试指南>仓库,更多精彩内容请到我的仓库里查看 https://github.com/h2pl/Java-Tutorial 喜欢的话麻烦点下 ...

  9. Docker基本概念及架构

    一.Docker基本概念 Docker是一个开源的容器引擎,基于Go 语言并遵从 Apache2.0 协议开源.Docker 可以让开发者打包他们的应用以及依赖包到一个轻量级.可移植的容器中,然后发布 ...

随机推荐

  1. JAVA学习之跨平台性

    Java语音的特点:跨平台性什么是跨平台性通过Java语音编写的应用程序再不同的系统平台上都可以运行. 原理是什么只要在需要运行Java应用程序的操作系统上.先安装一个Java虚拟机(JVM Java ...

  2. 1.2 JSX 语法

    官方文档 https://facebook.github.io/react/docs/jsx-in-depth.html JSX 语法听上去很讨厌,但当真正使用的时候会发现,JSX 的写法在组件的组合 ...

  3. FVWM_SMALLEST_CONFIG

    ... # ----------------------------------------------------------------- # HANDBOOK: # http://yaoqian ...

  4. 力扣算法题—150. Evaluate Reverse Polish Notation

      Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +,  ...

  5. 当引入的类库存在一个类型时,提示“xxx”和“xxx”之间的不明确引用时,消除歧义的方法

    //using _2_命名空间和程序集.WidgetA; //using _2_命名空间和程序集.WidgetB; using System; using System.Collections.Gen ...

  6. Unity中对注册表进行修改

    问题背景: PC端软件开发,当我在Unity中的PlayerSetting中设置好分辨率,每次打包运行后会记忆上次退出时窗口的分辨率(记忆窗口状态),导致下次打开时不是PlayerSetting中的初 ...

  7. css 折角效果/切角效果

    首先我们先创建一个图案为100像素的斜面切角的图案 html <div class="one">12345</div> css .one{ width: 1 ...

  8. Tk1上搭建turtlebot环境

    sudo apt-get install ros-indigo-turtlebot ros-indigo-turtlebot-apps ros-indigo-turtlebot-interaction ...

  9. visual studio 2013下搭建 安卓,ios,wp app开发平台

    1.安装 visual studio 2013 + Microsoft Visual Studio 2013 Update 4+Microsoft Build Tools 2015 2.安装java ...

  10. Java设计模式思想(单列模式,工厂模式,策略模式)

    a) 单例模式:单例模式核心只需要new一个实例对象的模式,比如数据库连接,在线人数等,一些网站上看到的在线人数统计就是通过单例模式实现的,把一个计时器存放在数据库或者内存中,当有人登陆的时候取出来加 ...