problem with multi host networking tutorial
gaurav-dalvi opened this issue · 4 comments
gaurav-dalvi commented
[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
gaurav-dalvi commented
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
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 GitHub<#141 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMiMKaqxpsqTeyXqljaHpnp3Su8_Atfbks5r32YQgaJpZM4NUV4s>.
gaurav-dalvi commented
This is committed.