From fdd79cece8f82079ba8bf9c0eb6c7df5a1d4a139 Mon Sep 17 00:00:00 2001 From: cmeng Date: Mon, 29 May 2023 09:01:42 +1200 Subject: [PATCH] fix(container): delete Mounts field from HostConfig object EE-5387 (#9001) --- app/docker/helpers/containerHelper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/docker/helpers/containerHelper.js b/app/docker/helpers/containerHelper.js index c50a9183e..ca38e9aab 100644 --- a/app/docker/helpers/containerHelper.js +++ b/app/docker/helpers/containerHelper.js @@ -116,6 +116,7 @@ angular.module('portainer.docker').factory('ContainerHelper', [ } } } + config.HostConfig.Mounts = null; config.HostConfig.Binds = binds; config.Volumes = volumes; return config;