Skip to content

Commit 9e459de

Browse files
committed
Update updating-docker docs
1 parent 2265423 commit 9e459de

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

docs/updating-docker.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
11
# Updating Docker
22

3+
See https://github.com/buildkite/elastic-ci-stack-for-aws/pull/954 for an
4+
example of updating Docker for Linux and Windows.
5+
36
## Linux
47

58
Packer installs Docker, docker-compose, and `docker buildx` using the [`packer/linux/scripts/install-docker.sh`](packer/linux/scripts/install-docker.sh)
6-
script.
9+
script. Update the `DOCKER_VERSION` variable in this file to change which
10+
version of Docker is installed. Update the `DOCKER_COMPOSE_VERSION` variable to
11+
change which version of docker-compose is installed. Update the
12+
`DOCKER_BUILDX_VERSION`variable to change which version of `docker buildx` is installed.
713

814
Binary releases are downloaded directly from Docker and GitHub.
915

10-
Update the `DOCKER_VERSION` variable to change which version of Docker is
11-
installed. Update the `DOCKER_COMPOSE_VERSION` variable to change which version
12-
of docker-compose is installed. Update the `DOCKER_BUILDX_VERSION` variable to
13-
change which version of `docker buildx` is installed.
14-
1516
## Windows
1617

1718
Packer installs Docker, and `docker-compose` using the [`packer/windows/scripts/install-docker.ps1`](packer/windows/scripts/install-docker.ps1)
1819
script.
1920

2021
[MicrosoftDockerProvider](https://github.com/OneGet/MicrosoftDockerProvider)
2122
is used to source Docker packages. The list of available packages that it
22-
installs can be found at https://dockermsft.azureedge.net/dockercontainer/DockerMsftIndex.json
23+
installs can be found at https://dockermsft.azureedge.net/dockercontainer/DockerMsftIndex.json.
2324

24-
Update the `docker_version` variable to one of the available package versions
25-
to change which version of Docker is installed.
25+
Update the `docker_version` variable in `install-docker.ps1` to one of the
26+
available package versions to change which version of Docker is installed.
2627

27-
The `choco` package manager is used to install `docker-compose`.
28+
The `choco` package manager is used to install `docker-compose`. See the
29+
[chocolatey package manager version history](https://community.chocolatey.org/packages/docker-compose#versionhistory)
30+
for a list of available versions.
2831

29-
Update the `docker_compose_version` variable to change which version of
30-
`docker-compose` is installed.
32+
Update the `docker_compose_version` variable in `install-docker.ps1` to change
33+
which version of `docker-compose` is installed.

0 commit comments

Comments
 (0)