Skip to content

Commit

Permalink
Simplify Debian & Ubuntu Docker Engine installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Oct 2, 2021
1 parent cf61781 commit 1720aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 70 deletions.
31 changes: 1 addition & 30 deletions engine/install/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,41 +107,12 @@ from the repository.
> `BunsenLabs Linux Helium`, you could use `stretch`. Docker does not offer any guarantees on untested
> and unsupported Debian distributions.

<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" data-target="#x86_64_repo">x86_64 / amd64</a></li>
<li><a data-toggle="tab" data-target="#armhf_repo">armhf</a></li>
<li><a data-toggle="tab" data-target="#arm64_repo">arm64</a></li>
</ul>
<div class="tab-content">
<div id="x86_64_repo" class="tab-pane fade in active" markdown="1">

```console
$ echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

</div>
<div id="armhf_repo" class="tab-pane fade" markdown="1">

```console
$ echo \
"deb [arch=armhf signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

</div>
<div id="arm64_repo" class="tab-pane fade" markdown="1">

```console
$ echo \
"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

</div>
</div> <!-- tab-content -->

#### Install Docker Engine

This procedure works for Debian on `x86_64` / `amd64`, `armhf`, `arm64`, and Raspbian.
Expand Down
41 changes: 1 addition & 40 deletions engine/install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,51 +124,12 @@ from the repository.
> `Linux Mint Tessa`, you could use `bionic`. Docker does not offer any guarantees on untested
> and unsupported Ubuntu distributions.

<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" data-target="#x86_64_repo">x86_64 / amd64</a></li>
<li><a data-toggle="tab" data-target="#armhf_repo">armhf</a></li>
<li><a data-toggle="tab" data-target="#arm64_repo">arm64</a></li>
<li><a data-toggle="tab" data-target="#s390x_repo">s390x</a></li>
</ul>
<div class="tab-content">
<div id="x86_64_repo" class="tab-pane fade in active" markdown="1">

```console
$ echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

</div>
<div id="armhf_repo" class="tab-pane fade" markdown="1">

```console
$ echo \
"deb [arch=armhf signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

</div>
<div id="arm64_repo" class="tab-pane fade" markdown="1">

```console
$ echo \
"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

</div>
<div id="s390x_repo" class="tab-pane fade" markdown="1">

```console
$ echo \
"deb [arch=s390x signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

</div>
</div> <!-- tab-content -->

#### Install Docker Engine

1. Update the `apt` package index, and install the _latest version_ of Docker
Expand Down

0 comments on commit 1720aae

Please sign in to comment.