Run cron daemon without root #99

Open
opened 2022-02-22 10:36:12 +01:00 by Jef Roosens · 3 comments
  • User doesn't have permissions to write to Docker socket
  • After testing with root, it seems the command just hangs & never properly pulls the image
* User doesn't have permissions to write to Docker socket * After testing with root, it seems the command just hangs & never properly pulls the image
Jef Roosens added this to the 0.2.0 milestone 2022-02-22 10:36:12 +01:00
Jef Roosens added the
bug
label 2022-02-22 10:36:12 +01:00

The first issue can be worked around by running the cron container using user root. The second one might not actually be a Vieter issue, but rather an issue with my Docker Swarm that causes containers to not be able to reach each other if they're running on the same host.

The first issue can be worked around by running the cron container using user root. The second one might not actually be a Vieter issue, but rather an issue with my Docker Swarm that causes containers to not be able to reach each other if they're running on the same host.
Jef Roosens modified the milestone from 0.2.0 to 0.3.0 2022-04-08 14:38:55 +02:00
Jef Roosens changed title from Build inside cron container is broken to Run cron daemon without root 2022-05-10 15:03:24 +02:00

This article describes a way to dynamically change the user used to run the service depending on the permissions on the Docker socket.

[This article](https://vitorbaptista.com/how-to-access-hosts-docker-socket-without-root) describes a way to dynamically change the user used to run the service depending on the permissions on the Docker socket.

This really isn't a priority so I'm removing it from the current milestone.

This really isn't a priority so I'm removing it from the current milestone.
Jef Roosens removed this from the 0.3.0 milestone 2022-05-13 19:56:55 +02:00
Jef Roosens added this to the 0.6.0 milestone 2022-06-17 09:34:07 +02:00
Jef Roosens removed this from the 0.6.0 milestone 2022-06-17 21:11:24 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#99
There is no content yet.