sbt-native-packager icon indicating copy to clipboard operation
sbt-native-packager copied to clipboard

Docker permission strategy warning when Docker version can't be detected

Open TimMoore opened this issue 5 years ago • 1 comments

The Docker plugin attempts to detect the current running Docker version, and validate that the selected permission strategy is compatible with the detected version.

If None is detected, it doesn't warn the user that they have an incompatible strategy (either by default or set manually).

I'm thinking that if None is detected it should print a different warning that the version couldn't be detected, but still try to proceed with the selected strategy rather than failing. At least then people won't think the problem is a bug in sbt-native-packager (or one of its downstream dependencies).

Originally posted by @TimMoore in https://github.com/sbt/sbt-native-packager/issues/1230#issuecomment-495523024

TimMoore avatar May 29 '19 01:05 TimMoore

At least then people won't think the problem is a bug in sbt-native-packager (or one of its downstream dependencies).

Hopefully :joy:

I agree. We should hope for the best and only print a warning to the user.

muuki88 avatar Jun 12 '19 18:06 muuki88