컨테이너를 여러 Docker 네트워크에 연결하는 방법

what is the ‘blessed by discourse’ method to use multiple docker networks? multiple --network invocations aren’t supported in docker run, so i don’t think i can specify multiple networks using docker_args.

i tunnel user requests to the edge via an --internal docker network, but having that as the only network causes launcher rebuild to fail since it needs internet. so i would want to have a wan network (i guess just for building?) and an internal tunnel network (real traffic).

do i really have to come up with something to docker network connect tunnel app after every build/start? can i have the discourse launcher do it?

thanks

Reading launcher there is neither any support for multiple networks nor any plugin / hook-machinery, which would allow implementing this outside of launcher in a way that would survive updates.

It would be interesting to learn, what minimal steps discourse would consider to adapt launcher to these needs, taking into account the deprecation of the (implemented but also unsupported) link feature.

늦게 합류해서 죄송하지만, 최신 정보로 이 주제를 업데이트하려고 합니다:

docker run은 이제 여러 개의 --network 옵션을 지원합니다.