Skip to content

Bash scripts for running dockerhost + docker-compose on linux systems

Notifications You must be signed in to change notification settings

ariadata/dockerhost-sh

Repository files navigation

Bash scripts for install docker (+compose) on linux

Build Status

This script also installs these packages:

  • git , curl , wget , nano , p7zip , sqlite3
✅ Debian 11 :

Run these commands for upgrade problem as root :

hwclock --hctosys
apt --yes install ntp
systemctl enable --now ntp
systemctl restart ntp
dpkg-reconfigure tzdata

🔷non-root recommended :

1️⃣ Create non-root sudo-enabled user via root first. (if there is no non-root user) :
# run these commands as root user :
# make sure sudo is installed
apt --yes install sudo

adduser production
usermod -aG sudo production
2️⃣ Install dockerhost via 'non-root' user :
sudo apt --yes install curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-debian-11-non-root.sh)

🔷root :

apt --yes install curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-debian-11-root.sh)
✅ Ubuntu 20+:

🔷non-root recommended :

1️⃣ Create non-root sudo-enabled user via root first. (if there is no non-root user) :
# run these commands as root user :
# make sure sudo is installed
apt --yes install sudo

adduser production
usermod -aG sudo production
2️⃣ Install dockerhost via 'non-root' user :
sudo apt --yes install curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-ubuntu-non-root.sh)

🔷root :

apt --yes install curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-ubuntu-root.sh)
✅ Rocky Linux 9 :

🔷non-root recommended :

1️⃣ Create non-root sudo-enabled user via root first. (if there is no non-root user) :
# run these commands as root user :
# make sure sudo is installed
yum install -y sudo

adduser production
passwd production
usermod -aG wheel production
2️⃣ Install dockerhost via 'non-root' user :
sudo yum install -y curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-rocky-9-non-root.sh)

🔷root :

yum install -y curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-rocky-9-root.sh)
✅ Rocky Linux 8 :

🔷non-root recommended :

1️⃣ Create non-root sudo-enabled user via root first. (if there is no non-root user) :
# run these commands as root user :
# make sure sudo is installed
yum install -y sudo

adduser production
passwd production
usermod -aG wheel production
2️⃣ Install dockerhost via 'non-root' user :
sudo yum install -y curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-rocky-8-non-root.sh)

🔷root :

yum install -y curl
bash <(curl -sSL https://github.com/ariadata/dockerhost-sh/raw/main/dockerhost-basic-rocky-8-root.sh)

About

Bash scripts for running dockerhost + docker-compose on linux systems

Topics

Resources

Stars

Watchers

Forks

Languages