【Linux operation 18】 - SUSE 12 SP5在线安装Docker

本文档详细介绍了如何在SUSE 12 SP5上在线安装Docker。首先,通过YaST或SUSEConnect命令启用容器模块。接着,安装Docker开源引擎,设置开机启动,并调整网络配置。对于Power架构,注意iptables和网络隔离的限制。此外,介绍了sle2docker工具的安装和使用,以及Docker Registry的安装与配置,包括Portus的集成,以实现本地Docker Registry的安全管理。
摘要由CSDN通过智能技术生成

1、指导文档地址:

https://documentation.suse.com/sles/12-SP5/single-html/SLES-dockerquick/index.html

2、在线安装前提 General Preparation

在安装任何 Docker 相关的包之前,需要启用容器模块:
Prepare the host as described below. Before installing any Docker-related packages, you need to enable the container module:

Note: Built-in Docker Orchestration Support
Starting with Docker Open Source Engine 1.12, the container orchestration is now an 
integral part of the  Docker Open Source Engine. Even though this feature is 
available in SLESSP1 and in SLESSP2,   it is not supported and is only a
technical preview. Use Kubernetes for Docker container orchestration, 
for details refer to the Kubernetes documentation.

PROCEDURE 1:ENABLING THE CONTAINER MODULE USING YAST
1、Start YaST, and select Software › Software Repositories.
2、Click Add to open the add-on dialog.
3、Select Extensions and Modules from Registration Server and click Next.
4、From the list of available extensions and modules, select Container Module 12 x86_64 and click Next.
The containers module and its repositories will be added to your system.
5、If you use Subscription Management Tool, update the list of repositories on the SMT server.

使用 YAST 启用容器模块 #
1、启动 YaST,然后选择软件 › 软件存储库。
2、单击添加以打开加载项对话框。
3、从注册服务器中选择扩展和模块,然后单击下一步。
4、从可用扩展和模块列表中,选择 Container Module 12 x86_64并单击 Next。
容器模块及其存储库将添加到您的系统中。
5、如果您使用订阅管理工具,请更新 SMT 服务器上的存储库列表。

PROCEDURE 2:ENABLING THE CONTAINER MODULE USING SUSECONNECT #
The Container Module can be added also with the following command:

$ sudo SUSEConnect -p sle-module-containers/1
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值