2023-01-19 23:34:01 +01:00
|
|
|
# Docker Auto Installer
|
2023-01-20 09:55:19 +01:00
|
|
|
Docker install scripts for linux machines or containers.
|
2023-01-20 09:45:17 +01:00
|
|
|
|
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-01-19 23:22:25 +01:00
|
|
|
## 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-01-20 10:52:43 +01:00
|
|
|
sh -c "$(curl -L https://raw.githubusercontent.com/hxcde/docker-auto-installer/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-01-19 23:57:15 +01:00
|
|
|
## Debian
|
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-01-19 23:57:40 +01:00
|
|
|
bash -c "$(curl -L https://raw.githubusercontent.com/hxcde/docker-auto-installer/main/debian.sh)"
|
2023-01-20 09:43:11 +01:00
|
|
|
```
|
2023-01-20 09:39:36 +01: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-01-20 09:39:36 +01:00
|
|
|
bash -c "$(curl -L https://raw.githubusercontent.com/hxcde/docker-auto-installer/main/ubuntu.sh)"
|
2023-01-20 09:43:11 +01:00
|
|
|
```
|
2023-01-20 09:53:35 +01: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-01-20 09:59:23 +01:00
|
|
|
bash -c "$(curl -L https://raw.githubusercontent.com/hxcde/docker-auto-installer/main/centos.sh)"
|
2023-04-11 23:07:13 +02:00
|
|
|
```
|