contiv / contiv.github.io

Contiv website source code
http://contiv.github.io/
Other
3 stars 65 forks source link

problem with multi host networking tutorial #141

Closed gaurav-dalvi closed 7 years ago

gaurav-dalvi commented 7 years ago

[vagrant@contiv-node3 ~]$ docker run -itd --name=contiv-c1 --net=contiv-net -e constraint:node=contiv-node3 alpine /bin/sh docker: Error response from daemon: Unable to find a node that satisfies the following conditions [available container slots]. See 'docker run --help'.

gaurav-dalvi commented 7 years ago

@rhim

gaurav-dalvi commented 7 years ago

Wrong command docker run -itd --name=contiv-c2 --net=contiv-net -e constraint:node=contiv-node4 alpine /bin/sh

Correct command docker run -itd --name=contiv-c2 --net=contiv-net -e constraint:node==contiv-node4 alpine /bin/sh

rhim commented 7 years ago

LGTM. Go ahead and merge.

-Himanshu

On May 8, 2017, at 2:59 PM, Gaurav Dalvi notifications@github.com<mailto:notifications@github.com> wrote:

Wrong command docker run -itd --name=contiv-c2 --net=contiv-net -e constraint:node=contiv-node4 alpine /bin/sh

Correct command docker run -itd --name=contiv-c2 --net=contiv-net -e constraint:node==contiv-node4 alpine /bin/sh

- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/contiv/contiv.github.io/issues/141#issuecomment-299959237, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMiMKaqxpsqTeyXqljaHpnp3Su8_Atfbks5r32YQgaJpZM4NUV4s.

gaurav-dalvi commented 7 years ago

This is committed.