Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Commit

Permalink
Run container as root
Browse files Browse the repository at this point in the history
Since the container uses volumes the user the container is running under
needs write access to these volumes. This must be configured from the
outside and maybe complicated.

See ipfs/kubo#6040 and ipfs/kubo#5048
  • Loading branch information
Thomas Scholtes committed Mar 15, 2019
1 parent 02c4d85 commit ce08162
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM ipfs/go-ipfs:v0.4.19

# Running as non-root user has some issues. Future go-ipfs images will
# be running as root again. See https://github.com/ipfs/go-ipfs/pull/6040
USER 0

# Default for running the 'ipfs' binary in the container.
ENV IPFS_PATH=/data/1

Expand Down

0 comments on commit ce08162

Please sign in to comment.