eliu / openshift-vagrant

Bring up a real OKD cluster on your local machine using Vagrant and VirtualBox
Apache License 2.0
57 stars 56 forks source link

missing docker unix group #18

Open drema201 opened 4 years ago

drema201 commented 4 years ago

Hi,

I had an issue with missing "docker" unix group. I am on Window 7 with VirtualBox VM 6.0.0. Error message is just after "Configuring Docker proxy" Faulty command is : chown ... root:docker

I've made a quick fix by adding that group as config.vm.provision "shell", inline: <<-SHELL echo 'Add missing docker unix group' groupadd docker /vagrant/all.sh #{OPENSHIFT_RELEASE} SHELL

after that initial installation goes w/o any issues.

eliu commented 4 years ago

Did you specify a different vagrant box image instead of centos/7 ? the name of the docker group should be dockerroot when using installing docker in centos.

See: https://rancher.com/docs/rke/latest/en/os/#using-rhel-centos-packaged-docker