Closed drts01 closed 6 years ago
Auto-enabling the settings would be problematic because there is no mechanism to disable them if you need to debug or have some specific needs.
An updated example would be nice. Maybe it should be featured more prominently in the docs of that provider?
I was thinking of finding a way to provide default settings for Docker, and if setting exists in the manifest they take precedence. But then changing the behavior of a plugin for a provider may just cause confusion for a user.
Perhaps the docs and examples I added in #458 are sufficient.
To be inline with https://github.com/moby/moby/blob/e2e5d4bc9da5ba17bb2822909611f8300fdd80f0/contrib/mkimage/debootstrap, I think these settings should be the default for the Docker provider.
I am willing to implement this, but I am not sure the best way to go about it.