It’s been a while not to update this website with docker article. Today I am going to guide you how to install Docker on OpenSUSE Leap 42.3. When this post is being written, the Docker CE (Community Edition) version 17.09 is available. If you are new to Docker, you can read the Docker official website. You will find many useful information about Docker before you get started.
If you are not OpenSUSE user, maybe the following tutorial is what you are looking for:
Steps to Install Docker on OpenSUSE Leap 42.3
First, create docker.repo config in /etc/zypp/repos.d/docker.repo
[Virtualization_containers] name=Virtualization:containers (openSUSE_Leap_42.3) type=rpm-md baseurl=http://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_42.3/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_42.3/repodata/repomd.xml.key enabled=1
Now we can install Docker with this command:
sudo zypper in docker
dhani@linux-up5k:~> sudo zypper in docker
Loading repository data…
Reading installed packages…
Resolving package dependencies…
The following 13 NEW packages are going to be installed:
containerd criu docker docker-bash-completion docker-libnetwork docker-runc
docker-zsh-completion git-core git-gui gitk perl-Error python-ipaddr
The following recommended package was automatically selected:
13 new packages to install.
Overall download size: 23.1 MiB. Already cached: 0 B. After the operation,
additional 116.6 MiB will be used.
Continue? [y/n/…? shows all options] (y):
Now let’s start docker daemon
sudo systemctl start docker
sudo systemctl enable docker
That’s it. Now we have successfully installed Docker on OpenSUSE Leap 42.3. This tutorial has been tested on our system. Please leave us comments and don’t forget to share this article.