Docker.Network reference
Network
Section titled “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).
Network: Creating Networks
Section titled “Network: Creating Networks”const network = yield* Docker.Network("app-network", { name: "app-network",});Network: Adoption
Section titled “Network: Adoption”const network = yield* Docker.Network("app-network", { name: "shared-app-network",}).pipe(adopt(true));