pants icon indicating copy to clipboard operation
pants copied to clipboard

`[GLOBAL].docker_execution` can't be passed on the CLI

Open thejcannon opened this issue 2 years ago • 3 comments

Describe the bug

$ pants --docker-execution test ::
Unknown flag --execution on docker scope

Pants version 2.20

OS Linux

Additional info N/A.

thejcannon avatar Dec 18 '23 19:12 thejcannon

I imagine this is a conflict with the pants.backend.docker backend? Can you confirm with a minimal reproducer?

huonw avatar Dec 20 '23 06:12 huonw

Yes that is the case.

thejcannon avatar Dec 20 '23 15:12 thejcannon

The confirmation is in the error message:

Unknown flag --execution on docker scope

The docker scope is from the docker subsystem.

kaos avatar Dec 20 '23 16:12 kaos