2026-10-09 16:53 UTC
I wrote a lil tool that goes through a Docker Compose file and for each bind mount, creates the folder on the host with correct permissions.
The only thing you'll have to do is tell it about the desired state:
volumes:
- type: bind
source: /opt/test2
target: /foo
x-setup: 1000:1000:700 # uid:gid:mode
https://codeberg.org/larsrh/docker-bindmount-setup
Replies (1)
-
@lars@mastodon.hupel.info 2026-10-09 16:53
... brought to you by this absolutely batshit behaviour https://mastodon.hupel.info/@lars/117242752733207281