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

14 lines
279 B
Ruby
Raw Normal View History

module VagrantPlugins
module Docker
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