Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
docker.4215
docker_service_helper.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File docker_service_helper.sh of Package docker.4215
#!/bin/bash if [ "$1" != "wait" ];then echo "Usage $0 option" echo "options can be" echo " wait: wait for the daemon to start" exit -1 fi echo "Waiting for docker daemon to start" for i in {1..60};do docker version > /dev/null 2>&1 && break sleep 1 done if docker version > /dev/null 2>&1;then echo "Docker is alive" exit 0 else echo "Docker is dead" exit 1 fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor