mirror of
https://github.com/docker/docs.git
synced 2026-11-06 12:54:24 +03:00
@@ -157,7 +157,10 @@ var DockerUtil = {
|
||||
}
|
||||
|
||||
if (!containerData.HostConfig || (containerData.HostConfig && !containerData.HostConfig.PortBindings)) {
|
||||
containerData.PublishAllPorts = true;
|
||||
if (!containerData.HostConfig) {
|
||||
containerData.HostConfig = {};
|
||||
}
|
||||
containerData.HostConfig.PublishAllPorts = true;
|
||||
}
|
||||
|
||||
if (image.Config.Cmd) {
|
||||
|
||||
Reference in New Issue
Block a user