I’m trying to get a test environment set up on my machine. Since you have a vagrantfile already, I copied that, made a few tweaks, and ran it, but it doesn’t seem to be running. What have I done wrong?
My vagrantfile began identical to yours, but I added:
#Hosts file plugin #To install: vagrant plugin install vagrant-hostsupdater #This will let you access the VM at discourse.local once it's up config.vm.network "private_network", ip: "192.168.33.12" config.vm.hostname = "discourse.local" ##Run our provisioner to install Discourse config.vm.provision "shell", path: "provision.sh"
And my provision script:
#!/usr/bin/env bash #Git and docker sudo apt-get -y install git wget -qO- https://get.docker.com/ | sh #Fake mail server mailcatcher --http-ip 0.0.0.0 #Discourse sudo mkdir -p /var/discourse sudo git clone https://github.com/discourse/discourse_docker.git /var/discourse cd /var/discourse sudo cp /vagrant/config.yml containers/app.yml sudo ./launcher bootstrap app sudo ./launcher start app
I get the following error when installing docker:
==> default: Error: you are not using a 64bit platform. ==> default: Docker currently only supports 64bit platforms.
And then I get:
==> default: Cloning into '/var/discourse'... ==> default: Device "docker0" does not exist. ==> default: Your Docker installation is not using a supported filesystem if we were to proceed you may have a broken install. ==> default: aufs is the recommended filesystem you should be using (zfs/btrfs a nd overlay may work as well)
(probably because Docker isn’t installed?)