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

Explorer container needs removing between restarts #14

Open
jmartasek opened this issue Oct 23, 2015 · 2 comments
Open

Explorer container needs removing between restarts #14

jmartasek opened this issue Oct 23, 2015 · 2 comments
Assignees

Comments

@jmartasek
Copy link

Whenever I do docker-compose stop I need to remove the container for explorer. Otherwise the container will stop after a while with Exit 1.

The logs show:
explorer_1 | [2015-10-23 09:24:42] ERROR SignalException: SIGTERM
explorer_1 | /usr/lib/ruby/1.9.1/webrick/server.rb:98:in `select'
explorer_1 | pid-file for killed process 13 found (/explorer2/tmp/pids/delayed_job.pid), deleting.
explorer_1 | delayed_job: process with pid 13 started.
explorer_1 | A server is already running. Check /explorer2/tmp/pids/server.pid.
explorer_1 | => Booting WEBrick
explorer_1 | => Rails 3.2.22 application starting in production on http://0.0.0.0:3000
explorer_1 | => Call with -d to detach
explorer_1 | => Ctrl-C to shutdown server
explorer_1 | Exiting

@jmartasek
Copy link
Author

The workaround for this is running the command below before every docker-compose up -d :

docker ps -a | grep 'explorer' | awk '{print $1}' | xargs --no-run-if-empty docker rm

@stain
Copy link
Contributor

stain commented Oct 28, 2015

I think the fix needed here is to change the base image to use the phusion passenger base image.

(Note to self): See for instance seek's Dockerfile

@stain stain self-assigned this Oct 28, 2015
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