docker-scripts/teamcity-agent/run-docker.sh

8 lines
148 B
Bash
Raw Normal View History

2019-09-14 22:28:02 +03:00
#!/bin/bash
if [ "$DOCKER_IN_DOCKER" = "start" ] ; then
rm /var/run/docker.pid 2>/dev/null
service docker start
echo "Docker daemon started"
fi