Skip to content

Conversation

@Josh5
Copy link

@Josh5 Josh5 commented Sep 14, 2024

Thanks for this project.

This PR is much the same as the other PR. This one has some improvements to the way the container is run also. With this changeset I was trying to simplify the deployment process a bit and also include the required changes for running a scan of running containers on startup.

The stack template should run the dmm process with `--rm`. Then when the swarm service is stopped, it will also terminate the dmm process.
When a host restarts, there is no guarantee that this service will start before the ones that you want to have modified. This then leads to those started containers not having the required permissions to access the /dev nodes.
This update runs a quick parse over the running containers and for each of them with a /dev mount, it will apply the device rules.
Lets just run it with an entrypoint script to simplify the compose template
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.

1 participant