Sorry, the vagrant file was not complete: Vagrant.configure(2) do |config| config.vm.box = "oraclelinux-7-x86_64.box" config.vm.box_url = "http://cloud.terry.im/vagrant/oraclelinux-7-x86_64.box" config.vm.provider "virtualbox" do |vb| vb.gui = true vb.customize ["modifyvm", :id, "--memory", "4096"] vb.name = "OEL 7.1 Development Server" end # install base docker image (Oracle Enterprise Linux 7.1) config.vm.provision "docker" do |d| d.pull_images "oraclelinux:7.1" end end
Am Mittwoch, 6. Mai 2015 20:26:36 UTC+2 schrieb Torsten Kleiber: > > Hi! > > Following should install docker and pull an image on the box, but docker > install fails: > > Vagrant.configure(2) do |config| > config.vm.box = "oraclelinux-7-x86_64.box" > config.vm.box_url = " > http://cloud.terry.im/vagrant/oraclelinux-7-x86_64.box" > config.vm.provider "virtualbox" do |vb| > # install base docker image (Oracle Enterprise Linux 7.1) > config.vm.provision "docker" do |d| > d.pull_images "oraclelinux:7.1" > end > end > > The error is: > > The following SSH command responded with a non-zero exit status. > Vagrant assumes that this means the command failed! > usermod -a -G docker vagrant > Stdout from the command: > Stderr from the command: > usermod: group 'docker' does not exist > > I think the group docker should be created by the provisioner too? > > Best regards > Torsten > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
