„Docker/README.md“ ändern

This commit is contained in:
flo 2022-06-30 06:47:53 +00:00
parent a52cdd50cc
commit 753375b4cc

View file

@ -16,31 +16,25 @@
```sudo apt-get install docker-ce docker-ce-cli containerd.io``` ```sudo apt-get install docker-ce docker-ce-cli containerd.io```
## Install Docker Compose V2 ## Install Docker Compose
```sudo mkdir -p /usr/local/lib/docker/cli-plugins``` ```sudo mkdir -p /usr/local/lib/docker/cli-plugins```
### x86/64 x86/64 Systems:
```sudo curl -SL https://github.com/docker/compose/releases/download/v2.6.0/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose``` ```sudo curl -SL https://github.com/docker/compose/releases/download/v2.6.1/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose```
### RaspberryPi ArmV7 Systems:
```sudo curl -SL https://github.com/docker/compose/releases/download/v2.6.0/docker-compose-linux-armv7 -o /usr/local/lib/docker/cli-plugins/docker-compose``` ```sudo curl -SL https://github.com/docker/compose/releases/download/v2.6.1/docker-compose-linux-armv7 -o /usr/local/lib/docker/cli-plugins/docker-compose```
```sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose``` ```sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose```
## Install Docker-Compose
```sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose```
```sudo chmod +x /usr/local/bin/docker-compose```
## Verify ## Verify
```docker --version``` -> Docker version ..., build ... ```docker --version``` -> Docker version ..., build ...
```docker compose version``` -> Docker Compose version v2.0.1 ```docker compose version``` -> Docker Compose version v2.6.1
## Add current user to the docker group ## Add current user to the docker group