fix(container): delete Mounts field from HostConfig object EE-5387 (#9001)

pull/9009/head
cmeng 2023-05-29 09:01:42 +12:00 committed by GitHub
parent ac94d344df
commit fdd79cece8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ angular.module('portainer.docker').factory('ContainerHelper', [
}
}
}
config.HostConfig.Mounts = null;
config.HostConfig.Binds = binds;
config.Volumes = volumes;
return config;