1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env bash #if no container is running if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ] then echo "db_pyros or pyros weren't running, starting them..." ./PYROS_DOCKER_START.bat fi #docker exec pyros bash -c docker/KILL_PYROS_DOCKER_RUN docker exec pyros bash docker/KILL_PYROS_DOCKER_RUN