Re: push APP using docker image


Yitao Jiang
 

LGTM, but i'm using private docker registry, same docker image download
from docker hub

+-----------------+-----------+-------------+
| Name | Versions | Commit Hash |
+-----------------+-----------+-------------+
| cf | 233* | 11e3eaec+ |
| diego | 0.1460.0* | 02b2bb8a |
| docker-registry | 3+dev.2* | cc37f5bd |
| etcd | 38* | af52789b+ |
| garden-linux | 0.334.0* | 88f7ec39 |
+-----------------+-----------+-------------+

+-------------------------------------------+---------------+---------+--------------------------------------+
| Name | OS | Version | CID
|
+-------------------------------------------+---------------+---------+--------------------------------------+
| bosh-openstack-kvm-ubuntu-trusty-go_agent | ubuntu-trusty | 3215* |
bb265c1b-9080-4e9a-9c64-7196db9c79f4 |
+-------------------------------------------+---------------+---------+--------------------------------------+

On Thu, May 5, 2016 at 11:28 AM, Stanley Shen <meteorping(a)gmail.com> wrote:

Hello, all

I am trying on to push APP using docker image.
From an existed thead, As Eric said we can use "cf push diego-docker-app
-o cloudfoundry/diego-docker-app"

But I got errors when running it, it looks "node" is needed.
Any information on it, what should I do to run an APP using a docker image?

My env is:
| cf | 233* | 11e3eaec+ |
| diego | 0.1460.0* | 02b2bb8a |
| bosh-aws-xen-hvm-ubuntu-trusty-go_agent | ubuntu-trusty | 3215* |
ami-958f66f5 light |

And here is the error:
2016-05-05T11:19:54.91+0800 [CELL/0] OUT Successfully created container
2016-05-05T11:19:54.91+0800 [CELL/0] OUT Starting health monitoring of
container
2016-05-05T11:19:54.93+0800 [APP/0] ERR /bin/sh: node: not found
2016-05-05T11:19:54.93+0800 [APP/0] OUT Exit status 127
2016-05-05T11:19:54.93+0800 [CELL/0] OUT Exit status 2
2016-05-05T11:19:54.99+0800 [CELL/0] OUT Creating container
2016-05-05T11:20:10.59+0800 [CELL/0] OUT Successfully created container
2016-05-05T11:20:10.59+0800 [CELL/0] OUT Starting health monitoring of
container
2016-05-05T11:20:10.60+0800 [APP/0] ERR /bin/sh: node: not found
2016-05-05T11:20:10.60+0800 [APP/0] OUT Exit status 127
2016-05-05T11:20:10.61+0800 [CELL/0] OUT Exit status 2
--

Regards,

Yitao

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.