cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 37 forks source link

Allow docker driver to run in privileged mode #199

Closed jdolitsky closed 4 years ago

jdolitsky commented 4 years ago

Use case: build and push my containers as steps in a "porter install"

In order to build images within the context of a "docker run", the --privileged flag appears to be required, even when using daemonless tools such as img.

radu-matei commented 4 years ago

/brig run

jdolitsky commented 4 years ago

Closing for now, seems that everything that needs to be accomplished can be done via dockerDriver.AddConfigurationOptions

See https://github.com/deislabs/porter/pull/951 for more info