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
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)
{
"acVersion": "0.1.1",
"acKind": "ImageManifest",
"name": "abc.com/myaci",
"app": {
"exec": [
"/bin/echo hello world"
],
"user":"0",
"group":"0"
},
"dependencies":null
}
The container is launched but terminated soon with error
Error: Unable to open "/bin/echo hello world": No such file or directory
Can I please get some help? Thanks in advance.
On 7/5/2015 11:26 PM, Vasisht, Aditya wrote:
> Hello,
>
> Aditya here.
>
> I have installed clearlinux and I need to update it. When I use the command “swupd_update”. I get an error saying “Network unavailable”. I don’t know where I
> should make the network proxy settings in “clearlinux”. Could I please get some help. Thanks in advance.
>
we honor http proxies with environment variables of course, e.g.
export http_proxy=<proxy url>
export https_proxy=<proxy url>
we're working on making this automatic (but that involves a lot of fun like needing to interpret javascript, we're trying to find a small solution to that, that matches our
"keep it small" concept)
Hello,
Aditya here.
I have installed clearlinux and I need to update it. When I use the command "swupd_update". I get an error saying "Network unavailable". I don't know where I should make the network proxy settings in "clearlinux". Could I please get some help. Thanks in advance.
The log
******************************************************************************
root(a)clr ~ # swupd_update
swupd-client software update 2.44
Copyright (C) 2012-2015 Intel Corporation
bsdiff portions Copyright Colin Percival, see COPYING file for details
Update started
Querying server version
Update exiting
Network Unavilable.
******************************************************************************