Sha256: 2c411afbc7da760c028b79bfd7364c5929dd32624d6a2015174ac21aeeee73e2
Contents?: true
Size: 565 Bytes
Versions: 12
Compression:
Stored size: 565 Bytes
Contents
require_relative "../container/client" module VagrantPlugins module DockerProvisioner class Client < VagrantPlugins::ContainerProvisioner::Client def initialize(machine) super(machine, "docker") @container_command = "docker" end def start_service if !daemon_running? && @machine.guest.capability?(:docker_start_service) @machine.guest.capability(:docker_start_service) end end def daemon_running? @machine.guest.capability(:docker_daemon_running) end end end end
Version data entries
12 entries across 12 versions & 3 rubygems