From 564909d371c8e2d452cbbffd29fa80a9b5d79633 Mon Sep 17 00:00:00 2001 From: cmeng Date: Mon, 29 May 2023 09:01:38 +1200 Subject: [PATCH] fix(container): delete Mounts field from HostConfig object EE-5387 (#9000) --- 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..97b4a2e45 100644 --- a/app/docker/helpers/containerHelper.js +++ b/app/docker/helpers/containerHelper.js @@ -117,6 +117,7 @@ angular.module('portainer.docker').factory('ContainerHelper', [ } } config.HostConfig.Binds = binds; + config.HostConfig.Mounts = null; config.Volumes = volumes; return config; };