d2vm icon indicating copy to clipboard operation
d2vm copied to clipboard

docker networking with default gateway issue

Open mahald opened this issue 1 year ago • 1 comments

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 ?

mahald avatar Oct 14 '24 14:10 mahald

Hello @mahald !

No, I'm sorry.

Adphi avatar Oct 14 '24 14:10 Adphi