azure-linux-automation/remote-scripts/test_docker.sh

20 строки
420 B
Bash
Исходник Обычный вид История

2017-09-29 19:43:58 +03:00
# This script is meant for quick & easy install via:
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
systemctl status docker > /dev/null
dockerServiceStatus=$?
systemctl status docker > ./dockerServiceStatusLogs.txt
docker version > dockerVersion.txt
if [ $dockerServiceStatus -eq 0 ];then
echo "DOCKER_VERIFIED_SUCCESSFULLY"
else
echo "DOCKER_VERIFICATION_FAILED"
fi
#TODO : More Tests
#TODO Cleanup