siemonster :: remove IpcMode
This commit is contained in:
@@ -114,9 +114,8 @@ func deployWorker(image string, identifier string, env []string) {
|
||||
containerId := getThisContainerId()
|
||||
if containerId != "" {
|
||||
hostConfig.NetworkMode = container.NetworkMode(fmt.Sprintf("container:%s", containerId))
|
||||
hostConfig.IpcMode = container.IpcMode(fmt.Sprintf("container:%s", containerId))
|
||||
} else {
|
||||
log.Printf("[WARNING] Empty determined container id, continue without NetworkMode/IpcMode")
|
||||
log.Printf("[WARNING] Empty determined container id, continue without NetworkMode")
|
||||
}
|
||||
|
||||
// ROFL: https://docker-py.readthedocs.io/en/1.4.0/volumes/
|
||||
|
||||
@@ -438,9 +438,8 @@ func deployApp(cli *dockerclient.Client, image string, identifier string, env []
|
||||
containerId := getThisContainerId()
|
||||
if containerId != "" {
|
||||
hostConfig.NetworkMode = container.NetworkMode(fmt.Sprintf("container:%s", containerId))
|
||||
hostConfig.IpcMode = container.IpcMode(fmt.Sprintf("container:%s", containerId))
|
||||
} else {
|
||||
log.Printf("[WARNING] Empty determined container id, continue without NetworkMode/IpcMode")
|
||||
log.Printf("[WARNING] Empty determined container id, continue without NetworkMode")
|
||||
}
|
||||
|
||||
config := &container.Config{
|
||||
|
||||
Reference in New Issue
Block a user