Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9a660c

Browse files
Misty Stanley-JonesMisty Stanley-Jones
authored andcommitted
Add s390x info
1 parent 52176ba commit a9a660c

File tree

3 files changed

+48
-21
lines changed

3 files changed

+48
-21
lines changed

engine/installation/linux/docker-ce/debian.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,13 @@ from the repository.
8585

8686
{% assign download-url-base = "https://download.docker.com/linux/debian" %}
8787

88-
1. Install packages to allow `apt` to use a repository over HTTPS:
88+
1. Update the `apt` package index:
89+
90+
```bash
91+
$ sudo apt-get update
92+
```
93+
94+
2. Install packages to allow `apt` to use a repository over HTTPS:
8995

9096
**Jessie or Stretch**:
9197

@@ -108,7 +114,7 @@ from the repository.
108114
python-software-properties
109115
```
110116

111-
2. Add Docker's official GPG key:
117+
3. Add Docker's official GPG key:
112118
113119
```bash
114120
$ curl -fsSL {{ download-url-base}}/gpg | sudo apt-key add -
@@ -125,7 +131,7 @@ from the repository.
125131
sub 4096R/F273FCD8 2017-02-22
126132
```
127133
128-
3. Use the following command to set up the **stable** repository. You always
134+
4. Use the following command to set up the **stable** repository. You always
129135
need the **stable** repository, even if you want to install **edge** builds
130136
as well.
131137
@@ -152,7 +158,7 @@ from the repository.
152158
sudo tee /etc/apt/sources.list.d/docker.list
153159
```
154160
155-
4. **Wheezy only**: The version of `add-apt-repository` on Wheezy adds a `deb-src`
161+
5. **Wheezy only**: The version of `add-apt-repository` on Wheezy adds a `deb-src`
156162
repository that does not exist. You need to comment out this repository or
157163
running `apt-get update` will fail. Edit `/etc/apt/sources.list`. Find the
158164
line like the following, and comment it out or remove it:

engine/installation/linux/docker-ce/ubuntu.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@ To learn more about Docker EE, see
3030
To install Docker CE, you need the 64-bit version of one of these Ubuntu
3131
versions:
3232

33+
- Zesty 17.04 (LTS)
3334
- Yakkety 16.10
3435
- Xenial 16.04 (LTS)
3536
- Trusty 14.04 (LTS)
3637

37-
Docker CE is supported on both `x86_64` and `armhf` architectures.
38+
Docker CE is supported on Ubuntu on `x86_64`, `armhf`, and `s390x` (IBM z
39+
Systems) architectures.
40+
41+
> **`s390x` limitations**: System Z is only supported on Ubuntu Xenial,
42+
> Yakkety, and Zesty.
3843
3944
### Uninstall old versions
4045

@@ -106,7 +111,7 @@ the repository.
106111
software-properties-common
107112
```
108113

109-
2. Add Docker's official GPG key:
114+
3. Add Docker's official GPG key:
110115
111116
```bash
112117
$ curl -fsSL {{ download-url-base }}/gpg | sudo apt-key add -
@@ -123,7 +128,7 @@ the repository.
123128
sub 4096R/F273FCD8 2017-02-22
124129
```
125130
126-
3. Use the following command to set up the **stable** repository. You always
131+
4. Use the following command to set up the **stable** repository. You always
127132
need the **stable** repository, even if you want to install **edge** builds
128133
as well.
129134
@@ -153,6 +158,16 @@ the repository.
153158
stable"
154159
```
155160
161+
**s390x**:
162+
163+
```bash
164+
$ sudo add-apt-repository \
165+
"deb [arch=s390x] {{ download-url-base }} \
166+
$(lsb_release -cs) \
167+
stable"
168+
```
169+
170+
156171
[Learn about **stable** and **edge** channels](/engine/installation/).
157172
158173
@@ -229,10 +244,10 @@ If you cannot use Docker's repository to install Docker CE, you can download the
229244
`.deb` file for your release and install it manually. You will need to download
230245
a new file each time you want to upgrade Docker CE.
231246

232-
1. Go to [{{ download-url-base }}/dists/]({{ download-url-base }}/dists/), choose your
233-
Ubuntu version, browse to `pool/stable/`, choose either `amd64` or
234-
`armhf`,and download the `.deb` file for the Docker version you want to
235-
install and for your version of Ubuntu.
247+
1. Go to [{{ download-url-base }}/dists/]({{ download-url-base }}/dists/),
248+
choose your Ubuntu version, browse to `pool/stable/` and choose `amd64`,
249+
`armhf`, or `s390x`. Download the `.deb` file for the Docker version you
250+
want to install and for your version of Ubuntu.
236251

237252
> **Note**: To install an **edge** package, change the word
238253
> `stable` in the URL to `edge`.

engine/installation/linux/docker-ee/ubuntu.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,23 @@ from the repository.
9494

9595
#### Set up the repository
9696

97-
1. Install packages to allow `apt` to use a repository over HTTPS:
97+
1. Update the `apt` package index:
9898

99-
```bash
100-
$ sudo apt-get install \
101-
apt-transport-https \
102-
ca-certificates \
103-
curl \
104-
software-properties-common
105-
```
99+
```bash
100+
$ sudo apt-get update
101+
```
102+
103+
2. Install packages to allow `apt` to use a repository over HTTPS:
104+
105+
```bash
106+
$ sudo apt-get install \
107+
apt-transport-https \
108+
ca-certificates \
109+
curl \
110+
software-properties-common
111+
```
106112

107-
2. Add Docker's official GPG key using your customer Docker EE repository URL:
113+
3. Add Docker's official GPG key using your customer Docker EE repository URL:
108114
109115
```bash
110116
$ curl -fsSL <DOCKER-EE-URL>/gpg | sudo apt-key add -
@@ -121,7 +127,7 @@ from the repository.
121127
sub 4096R/91A29FA3 2017-02-22
122128
```
123129
124-
3. Use the following command to set up the **stable** repository, replacing
130+
4. Use the following command to set up the **stable** repository, replacing
125131
`<DOCKER-EE-URL>` with the URL you noted down in the
126132
[prerequisites](#prerequisites).
127133

0 commit comments

Comments
 (0)