On Fri, Jul 10, 2015 at 3:52 AM, Vasisht, Aditya <aditya.vasisht(a)intel.com>
wrote:
Hello,
Aditya here.
I am trying to build an App container image (ACI), to just echo
“hello world” using manifest file (content of which is shown below)
* "exec": [ "/bin/echo hello world" ],*
*The container is launched but terminated soon with error*
*Error: Unable to open “/bin/echo hello world”: No such file or directory*
I think the way you provide arguments to programs you run is different. I
found this example online:
https://github.com/appc/spec/blob/master/examples/pod_runtime.json
Which suggests that you should write it like this instead:
"exec": [
"/bin/echo", "hello", "world"
],
Otherwise you're attempting to execute the file called "/bin/echo hello
world", whereas you're obviously looking to execute "/bin/echo" with
the
"hello" and "world" arguments.
hth,
Auke