Sha256: 93773f0c27f5a98764931f0d4a4606ee376e7df8d0772f2071afff8ba74c2700

Contents?: true

Size: 401 Bytes

Versions: 51

Compression:

Stored size: 401 Bytes

Contents

module VagrantPlugins
  module DockerProvisioner
    module Cap
      module Redhat
        module DockerStartService
          def self.docker_start_service(machine)
            machine.communicate.sudo("service docker start")
            # TODO :: waiting to start
            sleep 5
            machine.communicate.sudo("chkconfig docker on")
          end
        end
      end
    end
  end
end

Version data entries

51 entries across 44 versions & 7 rubygems

Version Path
vagrant-unbundled-2.2.7.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.6.2 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.6.1 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.6.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.5.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.4.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.3.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.2.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.2.0.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.1.4.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.1.2.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.1.1.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.0.4.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.0.3.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb