-
Notifications
You must be signed in to change notification settings - Fork 103
[ECE] Clarify supported Ubuntu version #1621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@kunisen : thanks for proposing this. I'm totally ok with the new approach. But taking a look at the Support Matrix for ECE 4.0.0 it looks we don't even support Docker 24.0 anymore, so better to add in the example Docker 26 or 27, which are actually supported for ECE 4.0.0 in Ubuntu 20 / 22 and 24. Also, the title of this PR talks about main Ubuntu versions, but the changes are about being Docker versioning agnostic and telling users to go to the support matrix, which is perfect to me. Regarding Ubuntu Version, shouldn't we update the parent doc ( ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments added.
@@ -55,7 +50,7 @@ Docker 25 and higher are not compatible with ECE 3.7. | |||
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |||
``` | |||
|
|||
4. Install the correct version of the `docker-ce` package, for Ubuntu 20.04 LTS (Focal Fossa) or Ubuntu 22.04 LTS (Jammy Jellyfish): | |||
4. Install the correct version of the `docker-ce` package. Following is an example of installing Docker 24.0. If you decide to install a different Docker version, make sure to replace with the desired version in the commands below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't suggest in the example to install Docker 24, as it's not supported for ECE 4.0.0.
I'd suggest Docker 26 or 27 based on the support matrix.
@@ -55,7 +50,7 @@ Docker 25 and higher are not compatible with ECE 3.7. | |||
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |||
``` | |||
|
|||
4. Install the correct version of the `docker-ce` package, for Ubuntu 20.04 LTS (Focal Fossa) or Ubuntu 22.04 LTS (Jammy Jellyfish): | |||
4. Install the correct version of the `docker-ce` package. Following is an example of installing Docker 24.0. If you decide to install a different Docker version, make sure to replace with the desired version in the commands below. | |||
|
|||
```sh | |||
sudo apt install -y docker-ce=5:24.0.* docker-ce-cli=5:24.0.* containerd.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as before, better to leave a supported example (like Docker 26 or 27).
Sorry for closing and reopening! Completely by mistake 🤦♂️ |
Co-authored-by: Edu González de la Herrán <[email protected]>
Co-authored-by: Edu González de la Herrán <[email protected]>
Thanks @eedugon You are absolutely right! [1]I changed this page too to make all OS version agnostic. I also combined RHEL and Rocky Linux section because they are referring to the same link. [2]I made a quick test in my lab # check docker-ce and docker-ce-cli versions
root@sl-kuniyasusen-e1e1432f-host1:~# apt-cache madison docker-ce docker-ce-cli | grep 27.0
docker-ce | 5:27.0.3-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce | 5:27.0.2-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce | 5:27.0.1-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce-cli | 5:27.0.3-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce-cli | 5:27.0.2-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce-cli | 5:27.0.1-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
# install docker-ce and docker-ce-cli version 27.0
root@sl-kuniyasusen-e1e1432f-host1:~# sudo apt install -y docker-ce=5:27.0.* docker-ce-cli=5:27.0.* containerd.io
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '5:27.0.3-1~ubuntu.22.04~jammy' (Docker CE:jammy [amd64]) for 'docker-ce'
Selected version '5:27.0.3-1~ubuntu.22.04~jammy' (Docker CE:jammy [amd64]) for 'docker-ce-cli'
Suggested packages:
aufs-tools cgroupfs-mount | cgroup-lite
The following held packages will be changed:
containerd.io docker-ce docker-ce-cli
The following packages will be upgraded:
containerd.io docker-ce docker-ce-cli
3 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.
E: Held packages were changed and -y was used without --allow-change-held-packages. So the same command The final line |
@kunisen , let me be a bit picky now, as I think we are doing a great progress... shouldn't we add the I mean this one: Of course for RHEL we should mention Podman instead of Docker in the text. Also the banner (or something similar) could also be added to the parent page (the one you have recently updated: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/1621/deploy-manage/deploy/cloud-enterprise/configure-operating-system). Maybe not as an |
Sure @eedugon added per the request and here we go :)
I used
|
Could you help update this please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think we are ready.
@@ -22,18 +22,13 @@ The following instructions show you how to prepare your hosts on 20.04 LTS (Foca | |||
|
|||
## Install Docker [ece-install-docker-ubuntu] | |||
|
|||
Install Docker LTS version 24.0 for Ubuntu 20.04 or 22.04. | |||
Install the compatible Docker version on Ubuntu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Install the compatible Docker version on Ubuntu. | |
Install a compatible Docker version on Ubuntu. |
🔍 Preview links for changed docs:
🔔 The preview site may take up to 3 minutes to finish building. These links will become live once it completes. |
(This is the 2nd try of previously wrongly raised PR - #1620)
Description
Previously we specify Ubuntu (Operating system / OS) version directly like 20.04 or 22.04.
However, we later also 24.04, and maybe in the future we will have even more versions.
All the compatible and supported version could be found in our support matrix - https://www.elastic.co/support/matrix#elastic-cloud-enterprise.
But writing the version directly to public doc page other than support matrix seems to be easily forgotten to update, and thus we are left behind in public doc page that it does not mention 24.04 now.
=> This causes confusion on users, because it's telling different in between public ECE docs and support matrix.
This was brought up by @rheppe in an internal discussion here.
The rationale is that support matrix is the source of truth, per what we have confirmed with @Kushmaro. So we would like to update the public docs based on support matrix.
Additional Notes
Docker 25 and higher are not compatible with ECE 3.7.
because the current branch of docs is for ECE 4.0, and we can see from support matrix, it's supported.sudo apt install -y docker-ce=5:24.0.* docker-ce-cli=5:24.0.* containerd.io
is just an example of install Docker 24.0 on Ubuntu. We added this because per support matrix, ECE 4.0 also supports other docker versions, and we can see from the screenshots below, it's hard to make an exclusive list in the public doc page, thus it makes more logical sense to say "it's a command example".Before / After PR merge
Before
After
No 20.04 or 22.04 version number present