vagrant/plugins/provisioners/docker/cap/linux/docker_daemon_running.rb

14 lines
290 B
Ruby

module VagrantPlugins
module DockerProvisioner
module Cap
module Linux
module DockerDaemonRunning
def self.docker_daemon_running(machine)
machine.communicate.test("test -f /var/run/docker.pid")
end
end
end
end
end
end