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 networking with default gateway issue #60

Open
mahald opened this issue Oct 14, 2024 · 1 comment
Open

docker networking with default gateway issue #60

mahald opened this issue Oct 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mahald
Copy link

mahald commented Oct 14, 2024

the command is not working if a network with a default gateway is used. for my build of other containers i fixed this by adding "--network host" on the build command. Is there any way to tell d2vm to add "--network host" to the build command ?

the issue i get is "W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Connection timed out [IP: 151.101.2.132 80]" im using the container to build it. it's wokring on my local system but not on my cloud build server, since the build server has only an internal network and adds a route default route/gateway for internet downloads.

basically i should be able to solve it by adding "--network host" to the build command, is there any way give additional parameters for the used build command ?

@Adphi
Copy link
Member

Adphi commented Oct 14, 2024

Hello @mahald !

No, I'm sorry.

@Adphi Adphi added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants