buildx/driver/docker-container
Justin Chadwell 33ef1b3a30 docker-container: move userns detection into driver
This moves the detection of the docker daemon's security options into
the driver from the factory, handling them in a similar way to how we do
cgroups.

Because of recent changes that modify error detection in driver
creation, this attempt to contact the docker daemon during builder
creation meant that a docker-container builder could not be created
without access to the docker socket. This patch resolves this, by
defering the Info call to the driver, when the container is actually
created.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-10-21 13:44:44 +01:00
..
driver.go docker-container: move userns detection into driver 2022-10-21 13:44:44 +01:00
factory.go docker-container: move userns detection into driver 2022-10-21 13:44:44 +01:00