diff --git a/src/utils/config/docker.js b/src/utils/config/docker.js index ada0c031e..ee8559e03 100644 --- a/src/utils/config/docker.js +++ b/src/utils/config/docker.js @@ -22,11 +22,14 @@ export default function getDockerArguments(server) { if (servers[server]) { if (servers[server].socket) { - return { conn: { socketPath: servers[server].socket }, swarm: servers[server].swarm }; + return { conn: { socketPath: servers[server].socket }, swarm: servers[server].swarm == true ? true : false }; } if (servers[server].host) { - return { conn: { host: servers[server].host, port: servers[server].port || null }, swarm: servers[server].swarm }; + return { + conn: { host: servers[server].host, port: servers[server].port || null }, + swarm: servers[server].swarm == true ? true : false, + }; } return servers[server];