Docker and Docker-Compose install scripts for various linux distros and versions
Go to file
2022-12-27 20:30:45 +00:00
docker_compose.nginx_proxy_manager.yml Attempting to add a network for the containers to all be on in docker. 2022-12-26 19:15:13 -06:00
docker_compose_navidrome.yml Attempting to add a network for the containers to all be on in docker. 2022-12-26 19:15:13 -06:00
docker_compose_portainer_ce.yml changing portainer data location 2022-12-27 07:38:46 -06:00
docker_compose_portainer_ce_agent.yml Attempting to add a network for the containers to all be on in docker. 2022-12-26 19:15:13 -06:00 Updated to iprove arch install and add suse 2022-12-27 14:11:14 -06:00
LICENSE Initial commit 2021-01-15 10:59:49 -06:00 Update file 2022-12-27 20:30:45 +00:00


This script will help install any, or all, of Docker-CE, Docker-Compose, NGinX Proxy Manager, and Portainer-CE.

Reason for Making this Script

I got tired of running individual commands all the time, so I created some scripts to make this very easy.

Using this script

  1. Clone the repo git clone

, or copy / paste the code from the file into a file on your server.


to open a text editor in the terminal, then use CTRL + Shift + V to paste into it.

Save with CTRL + O, then Enter to confirm, and exit the nano editor with CTRL + X.

  1. Change the permissions of the .sh file to make it executable with.

chmod +x

  1. Run the installer with


Prompts from the script:

First, you'll be prompted to select the number for your OS / Distro. Currently I support CentOS 7 and 8, Debian 10 and 11, Ubuntu 18.04, 20.04, 22.04, Arch Linux, and Open Suse (tested on Leap 15.4).

Next, you'll be asked to answer "y" to any of the four software packages you'd like to install.

  • Docker-CE
  • Docker-Compose
  • NGinx Proxy Manager
  • Navidrome (music player))
  • Portainer-CE
    • if you answer y to Portainer, you'll be asked another question

Do you want

  1. full Portainer-CE with the web UI, or
  2. just Portainer-agent (which you connect to another full portainer instance).

Make that selection, and the install will continue.

Answering "n" to any of them will cause them to be skipped.


  • You must have Docker-CE (or some version of Docker) installed in order to run any of the other three packages.
  • You must have Docker-Compose installed in order to run NGinX Proxy Manager, Portainer-CE, or Navidrome with this script.

Before prompting to install Docker or Docker-Compose, I do try to see if you already have them installed, and I skip the prompt if you do (or I try to anyway).

Recent changes

  • Updated the docker-compose install tp pull from the github repo ( thanks @binuengoor ) and get the latest version available.
  • Added OpenSuse as an option
  • Improved Arch Installer

Future Work

  • Make it work for Raspberry Pi
  • Make it work for Arch
  • Make it work for OpenSuse
  • Maybe add a few other default containers to pull down and start running
  • Prompt for Credentials to use in NGinX Proxy Manager db settings vs. using the defaults.
  • Set all Conteiners on a single docker network
  • Clean it up and split out functions to other files to make it easier to run / work on.


If you find issues, please let me know. I'm always open to new contributors helping me add Distro support, more software packages, etc. Just clone the project and make a pull request with any changes you add.


My script is offered without warranty against defect, and is free for you to use any way / time you want. You may modify it in any way you see fit. Please see the individual project pages of the software packages for their licensing.