58 Commits

Author SHA1 Message Date
1e5a68d4cb „README.md“ ändern 2023-04-18 20:47:13 +02:00
91a198dd13 „README.md“ ändern 2023-04-18 20:46:42 +02:00
23a9777206 „install.sh“ ändern 2023-04-18 20:45:57 +02:00
c07cf99d52 „README.md“ ändern 2023-04-18 15:39:54 +02:00
a557ab594a „README.md“ ändern 2023-04-18 15:25:18 +02:00
c287317038 „README.md“ ändern 2023-04-18 15:24:59 +02:00
c8d7299edb „README.md“ ändern 2023-04-18 15:20:34 +02:00
97e772f5a5 „README.md“ ändern 2023-04-18 15:18:31 +02:00
61604f0f31 „README.md“ ändern 2023-04-18 15:18:23 +02:00
a74e374144 „README.md“ ändern 2023-04-18 15:17:33 +02:00
3b47c6bd21 „README.md“ ändern 2023-04-18 15:17:05 +02:00
4e2bba3ffe „README.md“ ändern 2023-04-18 15:16:57 +02:00
430b8661ce „README.md“ ändern 2023-04-18 15:16:20 +02:00
752d1dcd32 „README.md“ ändern 2023-04-18 15:16:11 +02:00
7607cfea78 „README.md“ ändern 2023-04-18 15:16:00 +02:00
a379d34f08 „README.md“ ändern 2023-04-18 15:15:54 +02:00
2037a7de75 „README.md“ ändern 2023-04-18 15:15:41 +02:00
9dbb04f5fd „README.md“ ändern 2023-04-18 15:15:30 +02:00
8c6139bd6e „README.md“ ändern 2023-04-18 15:15:16 +02:00
3af8e7d1c9 „README.md“ ändern 2023-04-18 15:14:31 +02:00
06d22ec75f „README.md“ ändern 2023-04-18 15:14:07 +02:00
f4500fdf1d „README.md“ ändern 2023-04-18 15:13:43 +02:00
a052c8f88c „README.md“ ändern 2023-04-18 15:13:37 +02:00
82b9c73015 „README.md“ ändern 2023-04-18 15:13:21 +02:00
a378911563 „README.md“ ändern 2023-04-18 15:12:58 +02:00
a14366a58c „README.md“ ändern 2023-04-18 15:12:47 +02:00
b8a3eadd15 „README.md“ ändern 2023-04-18 15:12:31 +02:00
5ed959a795 „README.md“ ändern 2023-04-18 15:11:55 +02:00
9c1aef8897 „README.md“ ändern 2023-04-18 15:11:35 +02:00
372174d5bf „README.md“ ändern 2023-04-18 15:11:11 +02:00
030d9ee33a „README.md“ ändern 2023-04-18 15:10:56 +02:00
15fac49fc0 „README.md“ ändern 2023-04-18 15:10:27 +02:00
f2fe945461 „README.md“ ändern 2023-04-18 15:04:48 +02:00
b412af0cdb „README.md“ ändern 2023-04-18 15:04:41 +02:00
a602b109bf Dateien hochladen nach „“ 2023-04-18 15:04:21 +02:00
b3f8ea72f9 „README.md“ ändern 2023-04-18 15:01:37 +02:00
7f7c0ffb32 „README.md“ ändern 2023-04-18 15:01:29 +02:00
267ba0b515 „README.md“ ändern 2023-04-18 15:01:20 +02:00
0b92929420 „README.md“ ändern 2023-04-18 15:01:14 +02:00
c4f52f7790 „README.md“ ändern 2023-04-18 15:00:55 +02:00
c7128d2398 Dateien hochladen nach „“ 2023-04-18 14:59:42 +02:00
d529721870 „README.md“ ändern 2023-04-18 14:55:57 +02:00
d619a8f306 „README.md“ ändern 2023-04-18 14:55:47 +02:00
32666a7f1d „README.md“ ändern 2023-04-18 14:53:13 +02:00
5ef74deb70 „README.md“ ändern 2023-04-18 14:52:56 +02:00
92f03f1a5f „ascii“ ändern 2023-04-18 14:50:01 +02:00
3903341ca6 „ascii“ ändern 2023-04-18 14:49:35 +02:00
d7acd55e91 „install.sh“ ändern 2023-04-18 14:49:23 +02:00
407fb13157 „ascii“ hinzufügen 2023-04-18 14:48:09 +02:00
0de63f273a „README.md“ ändern 2023-04-18 14:47:47 +02:00
c47876fdf1 „README.md“ ändern 2023-04-18 14:47:38 +02:00
869eca0423 „install.sh“ ändern 2023-04-18 14:45:25 +02:00
fa910ebf95 „README.md“ ändern 2023-04-18 14:14:46 +02:00
dc585c1c86 „README.md“ ändern 2023-04-18 12:44:54 +02:00
0a3da36d03 „README.md“ ändern 2023-04-18 12:26:50 +02:00
21347569d6 „README.md“ ändern 2023-04-17 21:32:22 +02:00
fc8435af95 „debian.sh“ ändern 2023-04-17 21:32:01 +02:00
01ae8df5dc „ubuntu.sh“ ändern 2023-04-17 21:31:35 +02:00
6 changed files with 38 additions and 17 deletions

View File

@ -1,16 +1,22 @@
# Docker Auto Installer <img src="https://git.moelle.space/hxcde/docker-aio/raw/branch/main/dockeraio.png" width="350"/>
Docker automatic install script for linux machines or containers. <br>
Just run the commands in the console as root user. <br>
> Docker all in one install script for linux machines or containers.<br>
> Just run the commands in the console as root user.<br>
> The Script installs docker and docker-compose
- Works on `Debian`,`Ubuntu`,`CentOS`,`Alpine`,`OpenSuse` - Works on `Debian`,`Ubuntu`,`CentOS`,`Alpine`,`OpenSuse`
- You need to install curl and sudo on your system. - You need to install curl on your system.
#### Paste the script in the machines console #### Paste the script in the machines console, thats all!
```bash ```bash
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/install.sh)" sh -c "$(curl -L https://script.moelle.space/docker-aio)"
``` ```
<br> <br>
<br> <br>
<details>
<summary>Old, individual OS installation scripts </summary>
## Individual systems ## Individual systems
### Alpine ### Alpine
@ -20,7 +26,7 @@ apk add curl
``` ```
Then paste the script in the machines console Then paste the script in the machines console
```bash ```bash
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/alpine.sh)" sh -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/alpine.sh)"
``` ```
- I recommend using Alpine 3.15 and not 3.16. Alpine 3.16 creates OCI errors. - I recommend using Alpine 3.15 and not 3.16. Alpine 3.16 creates OCI errors.
### Debian ### Debian
@ -30,7 +36,7 @@ apt-get install curl sudo -y
``` ```
Then paste the script in the machines console Then paste the script in the machines console
```bash ```bash
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/debian.sh)" bash -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/debian.sh)"
``` ```
### Ubuntu ### Ubuntu
First install curl on the machine First install curl on the machine
@ -39,10 +45,11 @@ apt-get install curl -y
``` ```
Then paste the script in the machines console Then paste the script in the machines console
```bash ```bash
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/ubuntu.sh)" bash -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/ubuntu.sh)"
``` ```
### CentOS ### CentOS
Paste the script in the machines console Paste the script in the machines console
```bash ```bash
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/centos.sh)" bash -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/centos.sh)"
``` ```
</details>

9
ascii Normal file
View File

@ -0,0 +1,9 @@
.___ __ .__
__| _/____ ____ | | __ ___________ _____ |__| ____
/ __ |/ _ \_/ ___\| |/ // __ \_ __ \ ______ \__ \ | |/ _ \
/ /_/ ( <_> ) \___| <\ ___/| | \/ /_____/ / __ \| ( <_> )
\____ |\____/ \___ >__|_ \\___ >__| (____ /__|\____/
\/ \/ \/ \/ \/

View File

@ -1,4 +1,5 @@
echo installing Docker echo installing Docker
apt-get install sudo
sudo apt-get update sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release -y sudo apt-get install ca-certificates curl gnupg lsb-release -y
sudo mkdir -p /etc/apt/keyrings sudo mkdir -p /etc/apt/keyrings

BIN
dockeraio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
# Docker-aio ascii
curl https://git.moelle.space/hxcde/docker-aio/raw/branch/main/ascii
# Check if script is being run as root # Check if script is being run as root
if [ "$(id -u)" -ne 0 ]; then if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run as root." echo "This script must be run as root."
@ -39,16 +42,16 @@ read -p "Do you want to install Docker? (y/n) " INSTALL_DOCKER
if [ "$INSTALL_DOCKER" = "y" ]; then if [ "$INSTALL_DOCKER" = "y" ]; then
echo "Installing Docker ..." echo "Installing Docker ..."
if [ "$PACKAGE_MANAGER" = "apt-get" ]; then if [ "$PACKAGE_MANAGER" = "apt-get" ]; then
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/debian.sh)" bash -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/debian.sh)"
elif [ "$PACKAGE_MANAGER" = "apt-get-ubuntu" ]; then elif [ "$PACKAGE_MANAGER" = "apt-get-ubuntu" ]; then
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/ubuntu.sh)" bash -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/ubuntu.sh)"
elif [ "$PACKAGE_MANAGER" = "zypper" ]; then elif [ "$PACKAGE_MANAGER" = "zypper" ]; then
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/opensuse.sh)" sh -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/opensuse.sh)"
elif [ "$PACKAGE_MANAGER" = "apk" ]; then elif [ "$PACKAGE_MANAGER" = "apk" ]; then
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/alpine.sh)" sh -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/alpine.sh)"
elif [ "$PACKAGE_MANAGER" = "yum" ]; then elif [ "$PACKAGE_MANAGER" = "yum" ]; then
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/centos.sh)" bash -c "$(curl -L https://git.moelle.space/hxcde/docker-aio/raw/branch/main/centos.sh)"
fi fi
fi fi
echo "Docker and Docker Compose installation completed." echo "Completed!"

View File

@ -1,4 +1,5 @@
echo installing Docker echo installing Docker
apt-get install sudo -y
sudo apt-get update sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release -y sudo apt-get install ca-certificates curl gnupg lsb-release -y
sudo mkdir -p /etc/apt/keyrings sudo mkdir -p /etc/apt/keyrings