I2P Address: [http://git.idk.i2p]

Skip to content

Allow chown to fail so files can be managed via docker configs and secrets

aargh requested to merge aargh/i2p.i2p:fix-docker-configs-support into master

Intentionally allow chown to fail with exit status 0.

Docker swarm 'secrets' and 'configs' intentionally mount their managed files as read-only within a docker container. This action will cause the two chown commands to fail with an exit status of 1. That failure in return creates a "container boot loop" within the s6-overlay 'cont-init.d' startup stage when any docker secrets or configs are used to manage files located within the /i2p/.i2p directory.

Merge request reports

Loading