mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-21 08:55:35 -05:00
13 lines
290 B
Ruby
13 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
|