How to install Docker
on openSUSE

Docker

Canonical Verified account

Docker container runtime

Build and run container images with Docker.

This build requires all files that Docker uses, such as dockerfiles, to be in $HOME. Keep files there for 'docker build', 'docker save' and 'docker load'. Use the 'docker-privilege' command for 'docker run --privileged'.

This snap is built by Canonical based on source code published by Docker, Inc. It is not endorsed or published by Docker, Inc.

Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein.

Details for Docker

License
Apache-2.0
Last updated
7 May 2019

Enable snaps on openSUSE and install Docker

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap can be installed from the command line on openSUSE Leap 42.3, Leap 15 and Tumbleweed.

You need first add the snappy repository from the terminal. Leap 15 users, for example, can do this with the following command:

Swap out openSUSE_Leap_15.0 for either openSUSE_Leap_42.3 or openSUSE_Tumbleweed if you’re using a different version of openSUSE.

With the repository added, import its GPG key:

Finally, upgrade the package cache to include the new snappy repository:

Snap can now be installed with the following:

You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH. Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands:

sudo systemctl enable snapd sudo systemctl start snapd

Tumbleweed users also need to run the following:

sudo systemctl enable snapd.apparmor sudo systemctl start snapd.apparmor

Install Docker

To install Docker, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.