C
C
Cyril2020-10-05 18:26:16
linux
Cyril, 2020-10-05 18:26:16

How to make docker-compose see host's vpn network?

I build with docker-compose and during the build, yarn makes a call to the npm registry to get packages from there. These npm's are on the VPN subnet.

How to make docker-compose see the VPN subnet?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zohan1993, 2020-10-05
@zohan1993

Alternatively, you can try:
network_mode: host

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question