-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{CI} Use Ubuntu 24.04 on ARM agent #31158
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,11 +5,8 @@ if [[ $(dpkg --print-architecture) == "amd64" ]]; then | |
| echo "Docker is already installed on AMD64" | ||
| exit 0 | ||
| fi | ||
| # https://docs.docker.com/engine/security/rootless/ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not able to install rootless docker in 22.04 and 24.04. Ubuntu use cgroup v2 after 22.04. Docker keeps raising This issue is the same as this one, but there has been no response. https://forums.docker.com/t/docker-rootless-mode-issues-on-ubuntu-server-22-04-lts-in-aws/145115
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The document https://docs.docker.com/engine/security/rootless/ still exists and is valid. Is
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Some say |
||
| /bin/bash -c "$(curl -fsSL https://get.docker.com)" | ||
| sudo apt-get install -y uidmap | ||
| dockerd-rootless-setuptool.sh install | ||
| export XDG_RUNTIME_DIR=/home/cloudtest/.docker/run | ||
| PATH=/usr/bin:/sbin:/usr/sbin:$PATH dockerd-rootless.sh & | ||
| sleep 5 | ||
| docker context use rootless | ||
|
|
||
| # https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script | ||
| curl -fsSL https://get.docker.com -o get-docker.sh | ||
| sudo sh ./get-docker.sh | ||
| sudo chmod 666 /var/run/docker.sock | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use The official way to do this is add user to docker group. In runner-image repo, this is achieved by adding user to But we can't re-login for it to take effect in the pipeline.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I prefer we stick to the example at https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script, instead of piping to
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Any reference for this?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This error is raised when run Change it to 666 is a general way to fix the permission issue. |
||

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 remember we decided not to use the name
latest?Uh oh!
There was an error while loading. Please reload this page.
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.
Using the latest version saves effort by avoiding changes to the pool reference in CI and release pipelines, but it loses the ability to revert back if we encounter severe issues.
We need to be cautious during the agent transition to eliminate the issue we met during the 20.04 deprecation. How about this? We create a temp pool with newer image when we need to update the agent, then test it in the main repository. If everything works fine, we'll update the latest pool with the newer image.
@wangzelin007 for awareness