in case it's not the master branch too
@@ -78,7 +78,7 @@ function check_args()
if [ "$2" = "-D" ]; then
echo "Starting Poseidon..."
docker run -dit --rm -v /var/run/docker.sock:/var/run/docker.sock -v /opt/vent_files:/opt/vent_files -v /opt/poseidon/.plugin_config.yml:/root/.plugin_config.yml -v /opt/poseidon/.vent_startup.yml:/root/.vent_startup.yml --env-file /etc/poseidon/default.conf --name vent cyberreboot/vent
- until [ "$(docker ps -q -f name=poseidon-master)" ] && [ "$(docker ps -q -f name=poseidon-master | xargs docker container inspect -f \{\{.State.Health.Status\}\})" = "healthy" ]
+ until [ "$(docker ps -q -f name=-poseidon-)" ] && [ "$(docker ps -q -f name=-poseidon- | head -1 | xargs docker container inspect -f \{\{.State.Health.Status\}\})" = "healthy" ]
do
# TODO do more check and be verbose in here
count=$(docker ps -q --filter "label=vent" | wc -l)
