Network
Source:
src/Docker/Network.ts
A Docker network managed through the active Docker context.
Existing same-name networks are treated as foreign unless the engine is
explicitly allowed to adopt them with --adopt or adopt(true).
Creating Networks
Section titled “Creating Networks”const network = yield* Docker.Network("app-network", { name: "app-network",});Adoption
Section titled “Adoption”const network = yield* Docker.Network("app-network", { name: "shared-app-network",}).pipe(adopt(true));