Skip to content

Commit e1eafbc

Browse files
Gabriel MonroyMatthew Fisher
authored andcommitted
fix(registry): chown /data for data container
1 parent 41489c1 commit e1eafbc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

registry/bin/boot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ until confd -onetime -node $ETCD -config-file /app/confd.toml; do
3939
sleep $(($ETCD_TTL/2)) # sleep for half the TTL
4040
done
4141

42+
# reset filesystem permissions for data container
43+
test -d /data && chown registry:registry /data
44+
4245
# spawn the service in the background
4346
cd /docker-registry
4447
./setup-configs.sh

0 commit comments

Comments
 (0)