args for Docker run surrounded by quotes

2014-10-29 Thread Andrew Jones
Hi, I'm trying to run a Docker image which has a defined entrypoint and pass args to it. It looks like when the args are passed to docker run, they are surrounded by single quotes. The image I am trying to run is tomaskral/chronos, and this is the configuration I am giving to Marathon: { id:

Re: args for Docker run surrounded by quotes

2014-10-29 Thread Timothy Chen
Hi Andrew, By default shell is enabled, which wraps your command in bin/sh and single quotes. Try passing shell false to marathon. Tim Sent from my iPhone On Oct 29, 2014, at 4:44 AM, Andrew Jones andrew+me...@andrew-jones.com wrote: Hi, I'm trying to run a Docker image which has a

Re: args for Docker run surrounded by quotes

2014-10-29 Thread Connor Doyle
Andrew, could you explain what you changed to make this work? Marathon doesn't expose a `shell` argument; it's set implicitly by using either `cmd` or `args` in the app JSON. `args` is what you want (sets shell to false) if you are using a Dockerfile with an ENTRYPOINT clause. `args` is an