发布于 2015-09-10 16:17:52 | 249 次阅读 | 评论: 0 | 来源: 网络整理

注解

Docker is still under heavy development! We don’t recommend using it in production yet, but we’re getting closer with each release. Please see our blog post, “Getting to Docker 1.0”

注解

This is a community contributed installation path. The only ‘official’ installation is using the Ubuntu installation path. This version may be out of date because it depends on some binaries to be updated and published

Docker is available in openSUSE 12.3 and later. Please note that due to the current Docker limitations Docker is able to run only on the 64 bit architecture.

Installation

The docker package from the Virtualization project on OBS provides Docker on openSUSE.

To proceed with Docker installation please add the right Virtualization repository.

# openSUSE 12.3
sudo zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_12.3/ Virtualization

# openSUSE 13.1
sudo zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/ Virtualization

Install the Docker package.

sudo zypper in docker

It’s also possible to install Docker using openSUSE’s 1-click install. Just visit this page, select your openSUSE version and click on the installation link. This will add the right repository to your system and it will also install the docker package.

Now that it’s installed, let’s start the Docker daemon.

sudo systemctl start docker

If we want Docker to start at boot, we should also:

sudo systemctl enable docker

The docker package creates a new group named docker. Users, other than root user, need to be part of this group in order to interact with the Docker daemon.

sudo usermod -G docker <username>

Done!, now continue with the Hello World example.

最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务