2023-04-17 21:01:35 +02:00
|
|
|
# Docker Auto Installer
|
2023-04-17 21:01:59 +02:00
|
|
|
Docker automatic install script for linux machines or containers.
|
2023-04-12 00:58:00 +02:00
|
|
|
Just run the commands in the console as root user.
|
2023-01-19 23:20:12 +01:00
|
|
|
|
2023-04-17 21:29:28 +02:00
|
|
|
- Works on `Debian`,`Ubuntu`,`CentOS`,`Alpine`,`OpenSuse`
|
2023-04-17 21:32:22 +02:00
|
|
|
- You need to install curl on your system.
|
2023-04-17 20:56:01 +02:00
|
|
|
#### Paste the script in the machines console
|
2023-04-17 20:30:24 +02:00
|
|
|
```bash
|
2023-04-18 12:26:50 +02:00
|
|
|
sh -c "$(curl -L https://gitlink.moelle.space/I8Bn2y)"
|
2023-04-17 20:30:24 +02:00
|
|
|
```
|
2023-04-17 20:28:46 +02:00
|
|
|
|
2023-04-17 20:31:05 +02:00
|
|
|
<br>
|
|
|
|
<br>
|
2023-04-17 20:31:10 +02:00
|
|
|
|
2023-04-17 21:00:12 +02:00
|
|
|
## Individual systems
|
|
|
|
### Alpine
|
2023-01-20 09:55:19 +01:00
|
|
|
First install curl on the machine
|
2023-01-20 09:42:42 +01:00
|
|
|
```bash
|
2023-01-20 09:45:58 +01:00
|
|
|
apk add curl
|
2023-01-20 09:48:15 +01:00
|
|
|
```
|
2023-01-20 09:55:19 +01:00
|
|
|
Then paste the script in the machines console
|
2023-01-20 09:48:15 +01:00
|
|
|
```bash
|
2023-04-12 16:29:07 +02:00
|
|
|
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/alpine.sh)"
|
2023-01-20 09:42:42 +01:00
|
|
|
```
|
2023-01-20 00:06:54 +01:00
|
|
|
- I recommend using Alpine 3.15 and not 3.16. Alpine 3.16 creates OCI errors.
|
2023-04-17 21:00:12 +02:00
|
|
|
### Debian
|
2023-04-12 01:02:27 +02:00
|
|
|
First install curl and sudo on the machine
|
2023-01-20 09:43:11 +01:00
|
|
|
```bash
|
2023-04-12 01:02:27 +02:00
|
|
|
apt-get install curl sudo -y
|
2023-01-20 09:49:15 +01:00
|
|
|
```
|
2023-01-20 09:55:19 +01:00
|
|
|
Then paste the script in the machines console
|
2023-01-20 09:49:15 +01:00
|
|
|
```bash
|
2023-04-12 16:29:07 +02:00
|
|
|
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/debian.sh)"
|
2023-01-20 09:43:11 +01:00
|
|
|
```
|
2023-04-17 21:00:12 +02:00
|
|
|
### Ubuntu
|
2023-01-20 09:55:19 +01:00
|
|
|
First install curl on the machine
|
2023-01-20 09:43:11 +01:00
|
|
|
```bash
|
2023-01-20 09:45:58 +01:00
|
|
|
apt-get install curl -y
|
2023-01-20 09:49:15 +01:00
|
|
|
```
|
2023-01-20 09:55:19 +01:00
|
|
|
Then paste the script in the machines console
|
2023-01-20 09:49:15 +01:00
|
|
|
```bash
|
2023-04-12 16:29:07 +02:00
|
|
|
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/ubuntu.sh)"
|
2023-01-20 09:43:11 +01:00
|
|
|
```
|
2023-04-17 21:00:12 +02:00
|
|
|
### CentOS
|
2023-01-20 09:58:19 +01:00
|
|
|
Paste the script in the machines console
|
2023-01-20 09:53:35 +01:00
|
|
|
```bash
|
2023-04-12 16:29:07 +02:00
|
|
|
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/centos.sh)"
|
2023-04-11 23:07:13 +02:00
|
|
|
```
|