diff --git a/cli/src/util/helpers/deploy.ts b/cli/src/util/helpers/deploy.ts index fc88c4733..c42357919 100644 --- a/cli/src/util/helpers/deploy.ts +++ b/cli/src/util/helpers/deploy.ts @@ -73,7 +73,7 @@ async function deployCore({ core, mongo }: Config) { const { name, secretVolume, port, restart, sysroot } = core!; const nameConfig = `--name ${toDashedName(name)}`; const volumes = `-v ${secretVolume}:/secrets -v /var/run/docker.sock:/var/run/docker.sock -v ${sysroot}:/monitor-root`; - const network = `-p ${port}:${DEFAULT_PORT} --network ${DOCKER_NETWORK}`; + const network = `-p ${port}:${DEFAULT_PORT}`; const env = `-e MONGO_URL=${mongo?.url} -e SYSROOT=${trailingSlash(core?.sysroot!)}`; const restartArg = `--restart ${restart}`; const command = `docker run -d ${nameConfig} ${volumes} ${network} ${env} ${restartArg} ${CORE_IMAGE}`;