Skip to content

Instantly share code, notes, and snippets.

@jayunit100
Created October 20, 2014 03:24
Show Gist options
  • Save jayunit100/a9cbb28a5131acfc94c2 to your computer and use it in GitHub Desktop.
Save jayunit100/a9cbb28a5131acfc94c2 to your computer and use it in GitHub Desktop.
23:23:14-apache~/Development/bigtop-jayunit100/bigtop-deploy/vm/docker-puppet (BIGTOP-1417-final)$ sudo ./docker-hadoop.sh --create 1
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
Bringing machine 'bigtop1' up with 'docker' provider...
==> bigtop1: Creating the container...
bigtop1: Name: docker-puppet_bigtop1_1413775398
bigtop1: Image: bigtop/ssh:centos-6.4
bigtop1: Volume: /home/apache/Development/bigtop-jayunit100/bigtop-deploy/puppet:/bigtop-puppet
bigtop1: Volume: /home/apache/Development/bigtop-jayunit100/bigtop-deploy/vm/docker-puppet:/vagrant
bigtop1:
bigtop1: Container created: 80d68b1532377920
==> bigtop1: Starting container...
==> bigtop1: Provisioners will not be run since container doesn't support SSH.
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
Write failed: Broken pipe
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
Write failed: Broken pipe
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
Write failed: Broken pipe
23:23:23-apache~/Development/bigtop-jayunit100/bigtop-deploy/vm/docker-puppet (BIGTOP-1417-final)$ vagrant ssh bigtop1
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
A Docker command executed by Vagrant didn't complete successfully!
The command run along with the output from the command is shown
below.
Command: ["docker", "ps", "-a", "-q", "--no-trunc", {:notify=>[:stdout, :stderr]}]
Stderr: 2014/10/19 23:23:28 Get http:///var/run/docker.sock/v1.14/containers/json?all=1: dial unix /var/run/docker.sock: permission denied
Stdout:
23:23:28-apache~/Development/bigtop-jayunit100/bigtop-deploy/vm/docker-puppet (BIGTOP-1417-final)$ sudo vagrant ssh bigtop1
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/vagrant/bin/../embedded/bin in PATH, mode 040777
Write failed: Broken pipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment