This repository was archived by the owner on May 12, 2021. It is now read-only.
File tree 6 files changed +89
-20
lines changed
6 files changed +89
-20
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,18 @@ test_alternative_install_methods()
225
225
226
226
run_tests ()
227
227
{
228
+ # If docker was installed by default, zap it.
229
+ $mgr -v remove-docker
230
+
228
231
test_distro_install_guide
232
+
233
+ # Remove docker in preparation for the next test.
234
+
235
+ # This is required # since docker may have been pinned (to ensure a
236
+ # particular version is installed). But when a package is pinned, you
237
+ # cannot change it (although you can remove it).
238
+ $mgr -v remove-docker
239
+
229
240
test_alternative_install_methods
230
241
}
231
242
Original file line number Diff line number Diff line change 5
5
> - This guide assumes you have
6
6
> [ already installed the Kata Containers packages] ( ../centos-installation-guide.md ) .
7
7
8
- 1 . Install the latest version of Docker with the following commands:
9
-
10
- > ** Note:** This step is only required if Docker is not installed on the system.
8
+ 1 . Install Docker with the following commands:
9
+
10
+ > ** Notes:**
11
+ >
12
+ > - This step is only required if Docker is not installed on the system.
13
+ > - Newer versions of Docker have
14
+ > [ removed devicemapper support] ( https://github.com/kata-containers/documentation/issues/373 )
15
+ > so the commands below install the latest version which includes
16
+ > devicemapper support.
17
+ > - To remove the lock on the docker package to allow it to be updated:
18
+ > ``` sh
19
+ > $ sudo yum versionlock delete docker-ce
20
+ > ` ` `
11
21
12
22
` ` ` bash
13
23
$ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
14
- $ sudo yum -y install docker-ce
24
+ $ sudo yum -y install ' docker-ce-18.06.1.ce-3*' yum-plugin-versionlock
25
+ $ sudo yum versionlock docker-ce
15
26
```
16
27
17
28
For more information on installing Docker please refer to the
Original file line number Diff line number Diff line change 6
6
> [ already installed the Kata Containers packages] ( ../debian-installation-guide.md ) .
7
7
> - this guide allows for installation with ` systemd ` or ` sysVinit ` init systems
8
8
9
- 1 . Install the latest version of Docker with the following commands:
10
-
11
- > ** Note:** This step is only required if Docker is not installed on the system.
9
+ 1 . Install Docker with the following commands:
10
+
11
+ > ** Notes:**
12
+ >
13
+ > - This step is only required if Docker is not installed on the system.
14
+ > - Newer versions of Docker have
15
+ > [ removed devicemapper support] ( https://github.com/kata-containers/documentation/issues/373 )
16
+ > so the commands below install the latest version which includes
17
+ > devicemapper support.
18
+ > - To remove the lock on the docker package to allow it to be updated:
19
+ > ``` sh
20
+ > $ sudo apt-mark unhold docker-ce
21
+ > ` ` `
12
22
13
23
` ` ` bash
14
24
$ sudo apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common
15
25
$ curl -fsSL https://download.docker.com/linux/$( . /etc/os-release; echo " $ID " ) /gpg | sudo apt-key add -
16
26
$ sudo add-apt-repository " deb https://download.docker.com/linux/$( . /etc/os-release; echo " $ID " ) $( lsb_release -cs) stable"
17
27
$ sudo apt-get update
18
- $ sudo apt-get -y install docker-ce
28
+ $ sudo -E apt-get -y install --allow-downgrades docker-ce=' 18.06.1~ce~3-0~debian'
29
+ $ sudo apt-mark hold docker-ce
19
30
```
20
31
21
32
For more information on installing Docker please refer to the
Original file line number Diff line number Diff line change 5
5
> - This guide assumes you have
6
6
> [ already installed the Kata Containers packages] ( ../fedora-installation-guide.md ) .
7
7
8
- 1 . Install the latest version of Docker with the following commands:
9
-
10
- > ** Note:** This step is only required if Docker is not installed on the system.
8
+ 1 . Install Docker with the following commands:
9
+
10
+ > ** Notes:**
11
+ >
12
+ > - This step is only required if Docker is not installed on the system.
13
+ > - Newer versions of Docker have
14
+ > [ removed devicemapper support] ( https://github.com/kata-containers/documentation/issues/373 )
15
+ > so the commands below install the latest version which includes
16
+ > devicemapper support.
17
+ > - To remove the lock on the docker package to allow it to be updated:
18
+ > ``` sh
19
+ > $ sudo dnf versionlock delete docker-ce
20
+ > ` ` `
11
21
12
22
` ` ` bash
23
+ $ source /etc/os-release
13
24
$ sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
14
25
$ sudo dnf makecache
15
- $ sudo dnf -y install docker-ce
26
+ $ docker_pkg=' docker-ce-18.06.1.ce-3*'
27
+ $ [ " $VERSION_ID " -gt 28 ] && docker_pkg=docker-ce
28
+ $ sudo dnf -y install $docker_pkg python3-dnf-plugin-versionlock
29
+ $ sudo dnf versionlock docker-ce
16
30
```
17
31
18
32
For more information on installing Docker please refer to the
Original file line number Diff line number Diff line change 5
5
> - This guide assumes you have
6
6
> [ already installed the Kata Containers packages] ( ../opensuse-installation-guide.md ) .
7
7
8
- 1 . Install the latest version of Docker with the following commands:
9
-
10
- > ** Note:** This step is only required if Docker is not installed on the system.
8
+ 1 . Install Docker with the following commands:
9
+
10
+ > ** Notes:**
11
+ >
12
+ > - This step is only required if Docker is not installed on the system.
13
+ > - Newer versions of Docker have
14
+ > [ removed devicemapper support] ( https://github.com/kata-containers/documentation/issues/373 )
15
+ > so the commands below install the latest version which includes
16
+ > devicemapper support.
17
+ > - To remove the lock on the docker package to allow it to be updated:
18
+ > ``` sh
19
+ > $ sudo zypper removelock docker
20
+ > ` ` `
11
21
12
22
` ` ` bash
13
23
$ sudo zypper -n install libcgroup1
14
- $ sudo zypper -n install docker
24
+ $ sudo zypper -n install -f docker-18.06.1_ce-51.1
25
+ $ sudo zypper addlock docker
15
26
```
16
27
17
28
For more information on installing Docker please refer to the
Original file line number Diff line number Diff line change 5
5
> - This guide assumes you have
6
6
> [ already installed the Kata Containers packages] ( ../ubuntu-installation-guide.md ) .
7
7
8
- 1 . Install the latest version of Docker with the following commands:
9
-
10
- > ** Note:** This step is only required if Docker is not installed on the system.
8
+ 1 . Install Docker with the following commands:
9
+
10
+ > ** Notes:**
11
+ >
12
+ > - This step is only required if Docker is not installed on the system.
13
+ > - Newer versions of Docker have
14
+ > [ removed devicemapper support] ( https://github.com/kata-containers/documentation/issues/373 )
15
+ > so the commands below install the latest version which includes
16
+ > devicemapper support.
17
+ > - To remove the lock on the docker package to allow it to be updated:
18
+ > ``` sh
19
+ > $ sudo apt-mark unhold docker-ce
20
+ > ` ` `
11
21
12
22
` ` ` bash
13
23
$ sudo -E apt-get -y install apt-transport-https ca-certificates software-properties-common
14
24
$ curl -sL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
15
25
$ arch=$( dpkg --print-architecture)
16
26
$ sudo -E add-apt-repository " deb [arch=${arch} ] https://download.docker.com/linux/ubuntu $( lsb_release -cs) stable"
17
27
$ sudo -E apt-get update
18
- $ sudo -E apt-get -y install docker-ce
28
+ $ sudo -E apt-get -y install --allow-downgrades docker-ce=' 18.06.1~ce~3-0~ubuntu'
29
+ $ sudo apt-mark hold docker-ce
19
30
```
20
31
21
32
For more information on installing Docker please refer to the
You can’t perform that action at this time.
0 commit comments