shlink/indocker
2018-12-02 19:13:49 +01:00

9 lines
199 B
Bash
Executable file

#!/usr/bin/env bash
# Run docker containers if they are not up yet
if [[ $(docker ps | grep shlink_swoole) ]]; then :
else
docker-compose up -d
fi
docker exec -it shlink_swoole /bin/sh -c "$*"