Found by @seamusabshere. It looks like docker-compose has especially weak --entrypoint support, and it doesn't treat an empty --entrypoint as "reset to default" like I somehow thought it did.
DEBUG:cage::command_runner: Running ["docker-compose", "-p", "fdy", "-f", "/home/emk/foo/.cage/pods/diamond.yml", "run", "--entrypoint", "", "diamond", "ls"]
Could not find command "ls".
Error: error running 'docker-compose -p fdy -f /home/emk/foo/.cage/pods/diamond.yml run --entrypoint diamond ls'
I'm not sure what to do here, other than document how to override --entrypoint. It seems like ENTRYPOINT causes lots of problems for a very minor syntactic gain.
Found by @seamusabshere. It looks like
docker-compose
has especially weak--entrypoint
support, and it doesn't treat an empty--entrypoint
as "reset to default" like I somehow thought it did.I'm not sure what to do here, other than document how to override
--entrypoint
. It seems likeENTRYPOINT
causes lots of problems for a very minor syntactic gain.