Skip to content
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

fix: portainer docker rootless #461

Merged
merged 2 commits into from
Sep 2, 2024
Merged

Conversation

jakeiotechsys
Copy link
Contributor

Closes #460

PR Checklist

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)
    docs change not required as this is a bug fix.

Testing Instructions

Navigate to the compose-builder folder. Make sure you are running in a rootless docker environment. Run make portainer. After portainer has started run docker inspect portainer. Make sure the docker socket bind mount is in the user's space instead of the sudo docker socket location. Navigate to the portainer localhost web page and make sure it can connect to the docker socket and see other running containers.

Changed how docker rootless environment is resolved and env var is assigned

Signed-off-by: jakeiotechsys <jake@iotechsys.com>
Corrected comment

Signed-off-by: jakeiotechsys <jake@iotechsys.com>
@jakeiotechsys jakeiotechsys changed the title Issue 460 fix: portainer docker rootless Aug 30, 2024
@cloudxxx8
Copy link
Member

recheck

Copy link
Member

@cloudxxx8 cloudxxx8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cloudxxx8
Copy link
Member

recheck

2 similar comments
@cloudxxx8
Copy link
Member

recheck

@cloudxxx8
Copy link
Member

recheck

@cloudxxx8 cloudxxx8 merged commit 0a4cdc5 into edgexfoundry:main Sep 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Portainer fails to connect to docker in a rootless docker environment
2 participants