I want to create several VMs that have docker pre-installed.
What is the best/recommended way to go about this?
a) Have Docker provisioner do something dummy, just so that Docker gets installed, e.g.
mymachine.vm.provision "docker" do |docknode|
# do something pointless
end
b) run docker installation via a shell provisioner script?
mymachine.vm.provision "shell", path: "docker-installation-script.sh"
c) use a Vagrant image that comes with Docker pre-installed?