This blog is part of a series of technical blogs leading up to the release of openSUSE Leap 15. All of the blogs provide a use case regarding openSUSE Leap and the packages available in the distribution. Happy reading.
Authored by Max Huang
Docker is a software technology providing containers, promoted by the company Docker, Inc. Docker provides an additional layer of abstraction and automation of operating-system-level virtualization on Windows and Linux.
Docker implements a high-level Application Programming Interface to provide lightweight containers that run processes in isolation.
Because Docker containers are so lightweight, a single server or virtual machine can run several containers simultaneously.
Let’s do some hands on with Docker and openSUSE Leap 15.
== Install Docker ==
Use GUI method
use yast2 sw_single install docker
# yast2 sw_single
Select docker to install
Use command line to install docker
use zypper to install, if you don’t want interactive use #zypper -n install docker
# zypper install 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 git-core git-gui gitk libnet9
libsha1detectcoll1 python2-ipaddr python2-protobuf
The following recommended package was automatically selected:
13 new packages to install.
Overall download size: 23.2 MiB. Already cached: 0 B. After the operation, additional 117.1 MiB will be used.
Continue? [y/n/…? shows all options] (y): Y
Check docker version when you install it
# docker –version
Docker version 17.09.1-ce, build f4ffd2511ce9