From 700753fef206606ca80185f9c08979082259422e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 4 May 2023 10:36:07 +0200 Subject: [PATCH] engine/install: un-wrap repo setup command These are not too long, so un-wrapping them to make the page a bit briefer. Signed-off-by: Sebastiaan van Stijn --- engine/install/centos.md | 5 +---- engine/install/debian.md | 6 +----- engine/install/fedora.md | 5 +---- engine/install/rhel.md | 5 +---- engine/install/ubuntu.md | 6 +----- 5 files changed, 5 insertions(+), 22 deletions(-) diff --git a/engine/install/centos.md b/engine/install/centos.md index f934049d8a..66b8230df6 100644 --- a/engine/install/centos.md +++ b/engine/install/centos.md @@ -87,10 +87,7 @@ utility) and set up the repository. ```console $ sudo yum install -y yum-utils - -$ sudo yum-config-manager \ - --add-repo \ - {{ download-url-base }}/docker-ce.repo +$ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo ``` #### Install Docker Engine diff --git a/engine/install/debian.md b/engine/install/debian.md index f18be80898..810a9047a2 100644 --- a/engine/install/debian.md +++ b/engine/install/debian.md @@ -87,11 +87,7 @@ Docker from the repository. ```console $ sudo apt-get update - - $ sudo apt-get install \ - ca-certificates \ - curl \ - gnupg + $ sudo apt-get install ca-certificates curl gnupg ``` 2. Add Docker's official GPG key: diff --git a/engine/install/fedora.md b/engine/install/fedora.md index 48d545a884..13aae898ab 100644 --- a/engine/install/fedora.md +++ b/engine/install/fedora.md @@ -79,10 +79,7 @@ your DNF repositories) and set up the repository. ```console $ sudo dnf -y install dnf-plugins-core - -$ sudo dnf config-manager \ - --add-repo \ - {{ download-url-base }}/docker-ce.repo +$ sudo dnf config-manager --add-repo {{ download-url-base }}/docker-ce.repo ``` #### Install Docker Engine diff --git a/engine/install/rhel.md b/engine/install/rhel.md index 062699c92c..74403cbf5b 100644 --- a/engine/install/rhel.md +++ b/engine/install/rhel.md @@ -89,10 +89,7 @@ utility) and set up the repository. ```console $ sudo yum install -y yum-utils - -$ sudo yum-config-manager \ - --add-repo \ - {{ download-url-base }}/docker-ce.repo +$ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo ``` #### Install Docker Engine diff --git a/engine/install/ubuntu.md b/engine/install/ubuntu.md index 1fd0a97f2b..909dec2ef8 100644 --- a/engine/install/ubuntu.md +++ b/engine/install/ubuntu.md @@ -85,11 +85,7 @@ Docker from the repository. ```console $ sudo apt-get update - - $ sudo apt-get install \ - ca-certificates \ - curl \ - gnupg + $ sudo apt-get install ca-certificates curl gnupg ``` 2. Add Docker's official GPG key: