Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
fix: remove default registry definition in Dockerfile.
Browse files Browse the repository at this point in the history
fix: change dfpath default value in dfdaemon config template.

Signed-off-by: komey <[email protected]>
  • Loading branch information
Komey committed Jun 8, 2020
1 parent 80eae52 commit 4474dca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ COPY --from=builder /opt/dragonfly/df-client /opt/dragonfly/df-client
EXPOSE 65001

# use the https://index.docker.io as default registry.
CMD [ "--registry", "https://index.docker.io" ]
# more cli config see https://github.com/dragonflyoss/Dragonfly/blob/master/docs/cli_reference/dfdaemon.md
# CMD [ "--registry", "https://index.docker.io" ]

ENTRYPOINT [ "/opt/dragonfly/df-client/dfdaemon" ]
3 changes: 2 additions & 1 deletion docs/config/dfdaemon_config_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ ratelimit: 20M
localrepo: /home/admin/.small-dragonfly/dfdaemon/data/

# dfget path, which is the relative file path for the dfdaemon
dfpath: ./dfget
# default /opt/dragonfly/df-client/dfget
dfpath: /opt/dragonfly/df-client/dfget

# https options
# port: 12001
Expand Down

0 comments on commit 4474dca

Please sign in to comment.