contiv/contiv.github.io

problem with multi host networking tutorial

gaurav-dalvi opened this issue · 4 comments

[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'.

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

This is committed.