Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.0-beta, 2.7.2
-
None
-
None
Description
A ContainerLaunchContext accepts a list of commands (as strings) to be executed to launch the container. I would expect that giving a list with the two commands "echo yolo" and "date" would print something like
yolo Mon Aug 26 14:40:23 PDT 2013
Instead it prints
yolo date
This is because the commands get executed with:
exec /bin/bash -c "echo yolo date"
To get the expected behavior I have to include semicolons at the end of each command. At the very least, this should be documented, but I think better would be for the NM to insert the semicolons.