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

Does not work, if host uses cgroup v2 #6

Closed
jan-di opened this issue Aug 26, 2021 · 1 comment
Closed

Does not work, if host uses cgroup v2 #6

jan-di opened this issue Aug 26, 2021 · 1 comment

Comments

@jan-di
Copy link
Owner

jan-di commented Aug 26, 2021

The container cannot determine its own id, to connect with the docker network.

See more details here: https://stackoverflow.com/questions/68816329/how-to-get-docker-container-id-from-within-the-container-with-cgroup-v2

@jan-di jan-di closed this as completed in e355922 Aug 26, 2021
@jan-di
Copy link
Owner Author

jan-di commented Aug 26, 2021

In the new solution, the container get its own ID by searching for the image specific label via the docker api. This means for now, that only one instance of the backup service can run on the docker host. This could by circumvented by another setting, where you can set a unique id/name per backup service, but this is not planned at the moment.

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

No branches or pull requests

1 participant