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

fix: remove default registry definition in Dockerfile. #1385

Merged
merged 1 commit into from
Jun 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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