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

docker permissions #68

Closed
1 of 3 tasks
rpatel3001 opened this issue Feb 17, 2022 · 4 comments
Closed
1 of 3 tasks

docker permissions #68

rpatel3001 opened this issue Feb 17, 2022 · 4 comments
Labels
support Support Requests

Comments

@rpatel3001
Copy link
Contributor

rpatel3001 commented Feb 17, 2022

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • What is the current behavior?
    There is no documentation of which docker permissions are required.

  • What is the motivation / use case for changing the behavior?
    I'm wary of giving containers unrestricted access to the docker socket and would like to expose it via docker-socket-proxy and the DOCKER_HOST environment variable with limited permissions.

@m90
Copy link
Member

m90 commented Feb 18, 2022

Two things about this:

Using DOCKER_HOST is currently not supported. It should be though so I openend an issue to track this #69

I have never used docker-socket-proxy so I am not sure about how exactly configuring it would work in this context. docker-volume-backup definitely needs CONTAINER and SERVICE, it will also need POST but I cannot tell you what else is required. You can grep for s.cli in the source directory to find all calls being done here.

@m90 m90 added the support Support Requests label Feb 18, 2022
@m90
Copy link
Member

m90 commented Feb 18, 2022

Using DOCKER_HOST is now supported as of v2.12.0.

@rpatel3001
Copy link
Contributor Author

Thanks for the quick update, I'll experiment and post the results here.

@rpatel3001
Copy link
Contributor Author

It works, thanks. I'm not using swarm so it works with just POST and CONTAINERS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support Requests
Projects
None yet
Development

No branches or pull requests

2 participants