I am following a roaming guide on using dockers , but I get this error when starting strollers:
Jons-MacBook-Pro:vagrant jonhaven$ vagrant up
Bringing machine 'default' up with 'docker' provider...
==> default: Docker host is required. One will be created if necessary...
default: Docker host VM is already ready.
==> default: Vagrant has noticed that the synced folder definitions have changed.
==> default: With Docker, these synced folder changes won't take effect until you
==> default: destroy the container and recreate it.
==> default: Starting container...
==> default: Waiting for container to enter "running" state...
The container started either never left the "stopped" state or
very quickly reverted to the "stopped" state. This is usually
because the container didn't execute a command that kept it running,
and usually indicates a misconfiguration.
If you meant for this container to not remain running, please
set the Docker provider configuration "remains_running" to "false":
config.vm.provider "docker" do |d|
d.remains_running = false
end
And this is my Docker file (the same as in the video):
Vagrant.configure("2") do |config|
config.vm.provider "docker" do |d|
d.image = "paintedfox/postgresql"
end
end
Has anyone seen this before? I am on OSX 10.9.4 and use roaming jobs differently, just not with Docker.
Edit:
I followed the advice given and confirmed that I can launch the docker image using dockers. My docker working command is this:
docker run -p 8888: 8888 -d haven / play / opt / activator / activator ui -Dhttp.address = 0.0.0.0
, create_args cmd Vagrant. , , , .