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

[BUG]容器化部署的服务无法正常获取到IPV6 #1311

Closed
carolcoral opened this issue Nov 5, 2024 · 6 comments
Closed

[BUG]容器化部署的服务无法正常获取到IPV6 #1311

carolcoral opened this issue Nov 5, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@carolcoral
Copy link

carolcoral commented Nov 5, 2024

Description

使用docker compose方式部署的ddns-go,通过调用接口方式去获取ipv6地址一直提示无法获取,手动在浏览器中访问地址发现可以正常返回v6地址

image image image

DNS Provider

阿里云

Did you search for similar issues before submitting this one?

Yes, I did, but I didn't find anything useful

Operating System

Linux

Architecture

arm64

Version

v6.7.5

How are you running ddns-go?

Docker

Any other information

No response

@carolcoral carolcoral added the bug Something isn't working label Nov 5, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Nov 5, 2024

是不是host模式

@carolcoral
Copy link
Author

是不是host模式

桥接模式,容器部署我都不用host的

@jeessy2
Copy link
Owner

jeessy2 commented Nov 5, 2024

是不是host模式

桥接模式,容器部署我都不用host的

看下文档,容器中使用ipv6需要host模式。

@carolcoral
Copy link
Author

是不是host模式

桥接模式,容器部署我都不用host的

看下文档,容器中使用ipv6需要host模式。

ok

@carolcoral
Copy link
Author

docker compose怎么配置可以映射本地网卡到容器里面呢,这样就不用开host了

@jeessy2
Copy link
Owner

jeessy2 commented Nov 5, 2024

docker compose怎么配置可以映射本地网卡到容器里面呢,这样就不用开host了

这些不熟悉,你可以自己研究下,我都是简单化处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants