lib/beaker/hypervisor/docker.rb in beaker-1.12.2 vs lib/beaker/hypervisor/docker.rb in beaker-1.13.0
- old
+ new
@@ -30,10 +30,10 @@
'Image' => image.id,
'Hostname' => host.name,
})
@logger.debug("Starting container #{container.id}")
- container.start({"PublishAllPorts" => true})
+ container.start({"PublishAllPorts" => true, "Privileged" => true})
# Find out where the ssh port is from the container
ip = container.json["NetworkSettings"]["Ports"]["22/tcp"][0]["HostIp"]
port = container.json["NetworkSettings"]["Ports"]["22/tcp"][0]["HostPort"]