docker-engine安装
2016-06-12 23:56
453 查看
最近一直在使用docker 做一些试验,
每个新机器都需要部署docker的环境。
环境信息如下: RedHat 7.2, 安装 docker官方的安装 docker-engine
1.)
sudo rpm --import"https://sks-keyservers.net/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e"
2.)
sudo yum install -y yum-utils
sudo yum-config-manager --add-repohttps://packages.docker.com/1.10/yum/repo/main/centos/7
3.)
yum install docker-engine
[root@ip-172-30-0-123 ~]#
yum info docker*
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Installed Packages
Name
: docker-engine
Arch
: x86_64
Version
:
1.10.3.cs3
Release
: 1.el7.centos
Size
: 41 M
Repo
: installed
From repo
:packages.docker.com_1.10_yum_repo_main_centos_7
Summary
: The open-source applicationcontainer engine
URL
: https://dockerproject.org License
: ASL 2.0
Description : Docker is an open source project to build, ship and run anyapplication as a
: lightweightcontainer.
:
: Docker containers are bothhardware-agnostic and platform-agnostic. This means
: they can run anywhere, fromyour laptop to the largest EC2 compute instance and
: everything in between - andthey don't require you to use a particular
: language, framework orpackaging system. That makes them great building blocks
: for deploying and scalingweb apps, databases, and backend services without
: depending on a particularstack or provider.
Name
: docker-engine-selinux
Arch
: noarch
Version
: 1.10.3.cs3
Release
: 1.el7.centos
Size
: 43 k
Repo
: installed
From repo
:packages.docker.com_1.10_yum_repo_main_centos_7
Summary
: SELinux Policies for theopen-source application container engine
URL
: https://dockerproject.org License
: GPLv2
Description : SELinux policy modules for use with Docker
[root@ip-172-30-0-123 ~]#
4.)
systemctl enable docker.service
systemctl start docker.service
systemctl status
docker.service
最近一直在使用docker 做一些试验,
每个新机器都需要部署docker的环境。
环境信息如下: RedHat 7.2, 安装 docker官方的安装 docker-engine
1.)
sudo rpm --import"https://sks-keyservers.net/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e"
2.)
sudo yum install -y yum-utils
sudo yum-config-manager --add-repohttps://packages.docker.com/1.10/yum/repo/main/centos/7
3.)
yum install docker-engine
[root@ip-172-30-0-123 ~]#
yum info docker*
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Installed Packages
Name
: docker-engine
Arch
: x86_64
Version
:
1.10.3.cs3
Release
: 1.el7.centos
Size
: 41 M
Repo
: installed
From repo
:packages.docker.com_1.10_yum_repo_main_centos_7
Summary
: The open-source applicationcontainer engine
URL
: https://dockerproject.org License
: ASL 2.0
Description : Docker is an open source project to build, ship and run anyapplication as a
: lightweightcontainer.
:
: Docker containers are bothhardware-agnostic and platform-agnostic. This means
: they can run anywhere, fromyour laptop to the largest EC2 compute instance and
: everything in between - andthey don't require you to use a particular
: language, framework orpackaging system. That makes them great building blocks
: for deploying and scalingweb apps, databases, and backend services without
: depending on a particularstack or provider.
Name
: docker-engine-selinux
Arch
: noarch
Version
: 1.10.3.cs3
Release
: 1.el7.centos
Size
: 43 k
Repo
: installed
From repo
:packages.docker.com_1.10_yum_repo_main_centos_7
Summary
: SELinux Policies for theopen-source application container engine
URL
: https://dockerproject.org License
: GPLv2
Description : SELinux policy modules for use with Docker
[root@ip-172-30-0-123 ~]#
4.)
systemctl enable docker.service
systemctl start docker.service
systemctl status
docker.service
相关文章推荐
- 从源码安装Mysql/Percona 5.5
- centos6.5上安装docker
- docker容器的网络信息查看
- 在 AppImage、Flathub 和 Snapcraft 平台上搜索 Linux 应用
- openstack kilo-with-dokcer
- 解决vc中unable to connect to the MKS:Internal error问题
- 杰奇一些安装详细说明文件,比官方更细
- 无线网卡安装DIY
- 网卡安装常见问题精解
- DB2数据库的安装
- CentOS下DB2数据库安装过程详解
- Microsoft Sql server2005的安装步骤图文详解及常见问题解决方案
- ghost安装系统软件硬盘安装器 安装ghost图文教程
- CentOS 6.3下编译安装Ruby 2.0笔记
- FREEBSD安装POSTGRESQL笔记
- Redis总结笔记(一):安装和常用命令
- FreeBSD 6.2 安装全程图解教程
- 安装Apache和PHP的一些补充
- Lua在windows下的安装及环境配置
- 在windows下的安装Docker的教程