Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用docker启动,配置了ddns解析的域名之后,重启docker之后,又需要重新配置ddns解析的域名 #20

Closed
gholay opened this issue Dec 24, 2020 · 2 comments

Comments

@gholay
Copy link

gholay commented Dec 24, 2020

建议启用volume挂载本地磁盘,落地ddns的域名配置。

@jeessy2
Copy link
Owner

jeessy2 commented Dec 24, 2020

看你怎么配置的。重启不会丢失的。只有删除才可能。

@jeessy2
Copy link
Owner

jeessy2 commented Dec 24, 2020

docker run -d \
  --name ddns-go \
  --restart=always \
  -v /opt/ddns-go:/root/ \
  -p 9876:9876 \
  jeessy/ddns-go

如果你那里不可以的话。-v /opt/ddns-go:/root/

@jeessy2 jeessy2 closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants