You want to use Docker on openSUSE.
This article describes several solutions:
To install the docker and docker-compose packages start YaST2, select "Software" and start the module "Software Management". Search for docker and choose to install the Packages "docker" and "python3-docker-compose". (Even though the package is called "python3-docker-compose", it installs "docker-compose" binary). Then click "Accept", and if the installation was successful, "Finish".
To start the docker daemon during boot start YaST2, select "System" and start the module "Services Manager". Select the "docker" service and click "Enable/Disable" and "Start/Stop". To apply your changes click "OK".
To join the docker group that is allowed to use the docker daemon start YaST2, select "Security and Users" and start the module "User and Group Management". Select your user and click "Edit". On the "Details" tab select "docker" in the list of "Additional Groups". Then click "OK" twice.
Now you have to "Log out" of your session and "Log in" again for the changes to take effect.
on the command line
To install the docker and docker-compose packages:
To start the docker daemon during boot:
To join the docker group that is allowed to use the docker daemon:
Restart the docker daemon:
Verify docker is running:
This will pull down and run the, "Hello World" docker container from dockerhub:
Clean up and remove docker image we pulled down:
docker imagesdocker rmi -f IMAGE_ID
Where "IMAGE_ID" is the Id value of the "Hello World" container.
If you followed the instructions your openSUSE is ready to make use of docker containers. Dive into the great docker documentation and have a lot of fun...