Giter Site home page Giter Site logo

dockerhost-sh's Introduction

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.