Skip to content

Commit

Permalink
Merge pull request #129 from ibuildthecloud/init
Browse files Browse the repository at this point in the history
Launch containers with init (thanks @ibuildthecloud)
  • Loading branch information
Thorsten Klein authored Oct 19, 2019
2 parents fb74afc + b485682 commit 1631a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func createServer(spec *ClusterSpec) (string, error) {
hostConfig := &container.HostConfig{
PortBindings: serverPublishedPorts.PortBindings,
Privileged: true,
Init: &[]bool{true}[0],
}

if spec.AutoRestart {
Expand Down

0 comments on commit 1631a7b

Please # to comment.