To install the Docker and Docker Compose in OpenSUSE, I’m used the Tumbleweed version, and the first thing to make sure your system is up to date, to do this run the next command:
sudo zypper update
Then run the following command:
sudo zypper install docker docker-compose
To know that if Docker is installed at your computer, run the following command:
sudo docker run hello-world
If you received the bellow message, it works done!
A tip to execute the Docker without using sudo
, run the next command:
sudo usermod -aG docker $USER
And now you can use the command below without the sudo
:
docker run hello-world
Hope I helped.
Top comments (0)