engine: No lsb-release for setting up the repo

This commit is contained in:
Olivier Benz 2023-03-23 09:21:12 +01:00
parent 5cb86fa7d5
commit f1f1247021
No known key found for this signature in database
GPG Key ID: C25FE875940B14CE
2 changed files with 6 additions and 8 deletions

View File

@ -89,8 +89,7 @@ Docker from the repository.
$ sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
gnupg
```
2. Add Docker's official GPG key:
@ -103,9 +102,9 @@ Docker from the repository.
3. Use the following command to set up the repository:
```console
$ echo \
$ . /etc/os-release && echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
$VERSION_CODENAME stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```
#### Install Docker Engine

View File

@ -88,8 +88,7 @@ Docker from the repository.
$ sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
gnupg
```
2. Add Docker's official GPG key:
@ -102,9 +101,9 @@ Docker from the repository.
3. Use the following command to set up the repository:
```console
$ echo \
$ . /etc/os-release && echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
$VERSION_CODENAME stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```
#### Install Docker Engine