Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(registry): chown /data for data container
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Monroy authored and Matthew Fisher committed Apr 15, 2014
1 parent 41489c1 commit e1eafbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions registry/bin/boot
Expand Up @@ -39,6 +39,9 @@ until confd -onetime -node $ETCD -config-file /app/confd.toml; do
sleep $(($ETCD_TTL/2)) # sleep for half the TTL
done

# reset filesystem permissions for data container
test -d /data && chown registry:registry /data

# spawn the service in the background
cd /docker-registry
./setup-configs.sh
Expand Down

0 comments on commit e1eafbc

Please sign in to comment.