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-aws-detiber-0.7.2.pre.4 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-detiber-0.7.2.pre.3 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-detiber-0.7.2.pre.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.0.2.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.0.1.0 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-mkubenka-0.7.2.pre.22 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-f3fdbf414272/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-mkubenka-0.7.2.pre.16 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-1ee58c40e3f5/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-2.0.0.1 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-1.9.8.1 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-1.9.7.1 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-mkubenka-0.7.2.pre.14 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-mkubenka-0.7.2.pre.11 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-mkubenka-0.7.2.pre.10 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-aws-mkubenka-0.7.2.pre.9 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-1.9.5.1 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-unbundled-1.9.1.1 plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/docker/cap/redhat/docker_start_service.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/docker/cap/redhat/docker_start_service.rb