2014-04-15 20:53:12 -04:00
|
|
|
page_title: Installation on openSUSE
|
2014-05-27 13:08:19 -04:00
|
|
|
page_description: Installation instructions for Docker on openSUSE.
|
2014-04-15 20:53:12 -04:00
|
|
|
page_keywords: openSUSE, virtualbox, docker, documentation, installation
|
|
|
|
|
|
|
|
# openSUSE
|
|
|
|
|
|
|
|
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](https://build.opensuse.org/project/show/Virtualization) on
|
|
|
|
[OBS](https://build.opensuse.org/) provides Docker on openSUSE.
|
|
|
|
|
|
|
|
To proceed with Docker installation please add the right Virtualization
|
|
|
|
repository.
|
|
|
|
|
|
|
|
# openSUSE 12.3
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_12.3/ Virtualization
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
# openSUSE 13.1
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/ Virtualization
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
Install the Docker package.
|
|
|
|
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo zypper in docker
|
2014-04-15 20:53:12 -04:00
|
|
|
|
2014-04-23 16:48:28 -04:00
|
|
|
It's also possible to install Docker using openSUSE's1-click install.
|
2014-04-15 20:53:12 -04:00
|
|
|
Just visit [this](http://software.opensuse.org/package/docker) 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.
|
|
|
|
|
2014-04-23 16:48:28 -04:00
|
|
|
Now that it's installed, let's start the Docker daemon.
|
2014-04-15 20:53:12 -04:00
|
|
|
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo systemctl start docker
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
If we want Docker to start at boot, we should also:
|
|
|
|
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo systemctl enable docker
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo usermod -G docker <username>
|
2014-04-15 20:53:12 -04:00
|
|
|
|
2014-04-23 16:48:28 -04:00
|
|
|
**Done!**
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
Continue with the [User Guide](/userguide/).
|
|
|
|
|