Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spurious-server dies as soon as it's started #26

Open
dazoakley opened this issue May 9, 2016 · 2 comments
Open

spurious-server dies as soon as it's started #26

dazoakley opened this issue May 9, 2016 · 2 comments

Comments

@dazoakley
Copy link

Hi,

I'm having real problems trying to get spurious going on my Mac. Basically when I start up spurious-server it dies instantly and I can never get past that point. Here's a transcript of my terminal session:

oakled03 in ~ λ docker-machine create --driver virtualbox development
Running pre-create checks...
Creating machine...
(development) Copying /Users/oakled03/.docker/machine/cache/boot2docker.iso to /Users/oakled03/.docker/machine/machines/development/boot2docker.iso...
(development) Creating VirtualBox VM...
(development) Creating SSH key...
(development) Starting the VM...
(development) Check network to re-create if needed...
(development) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env development

oakled03 in ~ λ eval $(docker-machine env development)

oakled03 in ~ λ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

oakled03 in ~ λ spurious-server start
Checking if docker daemon is available...
Starting server...
Started with pid: #4424

oakled03 in ~ λ spurious init
[error] The spurious-server instance has died, start it again with: 'spurious-server start'

oakled03 in ~ λ

Here's the details of my setup:

  • OS: Mac OS X 10.11.4
  • Docker: docker-machine 0.7.0, docker 1.11.0
  • Ruby: 2.3.0 (managed via rbenv)
  • Spurious: spurious 0.4.3, spurious-server 0.6.3

Odd thing is, the very first time I tried to get this to work, I deleted and recreated my docker-machine image and it worked. But i've never got it to work since...

Any help to debug this would be very much appreciated. :)

@Integralist
Copy link
Contributor

So I don't forget myself...

gem install docker-api -v 1.24.1

@stevenjack can this be added to the README please or anchored explicitly in the Gemfile

@dazoakley
Copy link
Author

Thanks for your help on this @Integralist and @stevenjack 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants