With this script, you can automatically install Docker (Community Edition) and Docker-Compose on your OS.
Note: It automatically creates a network named "my-main-app" properties. For further containers installation, make sure to add them to this network.
-
"CentOS 7 / 8 / Fedora"
-
"Debian 10 / 11"
-
"Ubuntu 18.04"
-
"Ubuntu 20.04 / 21.04 / 22.04"
-
"Arch Linux"
-
"Open Suse"
Just copy and paste the commands below and press enter!
First, install curl:
apt install curl
Then use the command below:
bash <(curl -Ls https://raw.githubusercontent.com/shawshanck/Docker-and-Docker-Compose/main/install.sh --ipv4)