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