progrium / entrykit

Entrypoint tools for elegant, programmable containers
442 stars 29 forks source link

codep argument parsing #10

Open smaftoul opened 7 years ago

smaftoul commented 7 years ago

I do this:

ENTRYPOINT [ \
  "codep", \
    "/usr/sbin/ucarp --interface=eth0", \
    "/usr/local/sbin/haproxy -f /etc/haproxy/haproxy.cfg" ]

And get this:

!! exec: "eth0": executable file not found in $PATH

I don't really understand what's happening, I think codep parses argv[1] wrongly.

progrium commented 7 years ago

yes it's quite possible because entrykit does some unnecessarily custom arg parsing. sorry about that. share if you find anything more.

On Thu, Dec 29, 2016 at 9:11 AM, smaftoul notifications@github.com wrote:

I do this:

ENTRYPOINT [ \ "codep", \ "/usr/sbin/ucarp --interface=eth0", \ "/usr/local/sbin/haproxy -f /etc/haproxy/haproxy.cfg" ] ```

And get this:

!! exec: "eth0": executable file not found in $PATH

I don't really understand what's happening, I think codep parses argv[1] wrongly.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/progrium/entrykit/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AAACh_Z5hIFU4rjtTwYZrx3EEKxvu3jXks5rM824gaJpZM4LXpL1 .

-- Jeff Lindsay http://progrium.com