diff --git a/Dockerfile b/Dockerfile index 57d7c0a41..9d8aaea72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] diff --git a/docs/config/dfdaemon_config_template.yml b/docs/config/dfdaemon_config_template.yml index 736b6196a..5bbb724fe 100644 --- a/docs/config/dfdaemon_config_template.yml +++ b/docs/config/dfdaemon_config_template.yml @@ -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