GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docker/install: Support rootless by vvoland · Pull Request #485 · docker/actions-toolkit

Conversation

@vvoland

@vvoland vvoland commented Nov 5, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Add support for running a rootless daemon. Currently only Linux host is supported.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vvoland
vvoland force-pushed the docker-install-rootless branch 7 times, most recently from 324f9c9 to bfd2263 Compare November 5, 2024 15:46
@crazy-max

crazy-max commented Nov 5, 2024

Copy link
Copy Markdown
Member

https://github.com/docker/actions-toolkit/actions/runs/11687682100/job/32546382492?pr=485#step:10:198

  + echo rootlesskit needs to be installed
  rootlesskit needs to be installed
  + exit 1

Missing rootlesskit?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vvoland
vvoland force-pushed the docker-install-rootless branch from bfd2263 to f85f73e Compare November 5, 2024 15:51
@vvoland

vvoland commented Nov 5, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

It lost the PATH when sudoing as a non-root user.
Anyway, I'm mostly abusing the draft PR to run the CI on the GHA runner, feel free to ignore for now 😅

crazy-max reacted with laugh emoji
All reactions
  • 😄 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vvoland
vvoland force-pushed the docker-install-rootless branch from f85f73e to 293c0ee Compare November 5, 2024 15:55
@crazy-max

crazy-max commented Nov 5, 2024

Copy link
Copy Markdown
Member

It lost the PATH when sudoing as a non-root user.

Might need sudo -E

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vvoland
vvoland force-pushed the docker-install-rootless branch 6 times, most recently from 409eeff to d7de9c8 Compare November 6, 2024 12:57
@vvoland
vvoland marked this pull request as ready for review November 6, 2024 14:35
@vvoland vvoland changed the title [WIP] docker/install: Support rootless docker/install: Support rootless Nov 6, 2024
@vvoland

vvoland commented Nov 6, 2024

Copy link
Copy Markdown
Contributor Author

Ready for review @crazy-max

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vvoland vvoland mentioned this pull request Nov 6, 2024
Add rootless support docker/setup-docker-action#124
Merged
crazy-max
crazy-max reviewed Nov 6, 2024
View reviewed changes
Comment thread src/docker/install.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@vvoland
vvoland force-pushed the docker-install-rootless branch from 62577a5 to ce839e8 Compare November 6, 2024 16:32
@vvoland
vvoland marked this pull request as draft November 6, 2024 16:43
@vvoland
vvoland force-pushed the docker-install-rootless branch from b1a64ac to 2afeeaa Compare November 6, 2024 16:55
@vvoland
docker/install: Support rootless
2d2bc84
Add support for running a rootless daemon. Currently only Linux host is
supported.

Signed-off-by: Paweł Gronowski <[email protected]>
@vvoland
vvoland force-pushed the docker-install-rootless branch from 2afeeaa to 2d2bc84 Compare November 6, 2024 17:02
@vvoland
vvoland marked this pull request as ready for review November 6, 2024 17:07
crazy-max
crazy-max approved these changes Nov 7, 2024
View reviewed changes

@crazy-max crazy-max left a comment

Copy link
Copy Markdown
Member

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 thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@crazy-max
crazy-max merged commit 37b0f81 into docker:main Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@crazy-max crazy-max crazy-max approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vvoland @crazy-max
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.