-
Notifications
You must be signed in to change notification settings - Fork 337
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
Spring not starting inside Docker container #479
Comments
Do you still have problems with version 1.7.1? |
Also:
This error is because your host UID and container UID are different.
This error is because you're not meant to run the spring client inside your container. The idea is to run the client on your host, and run the server inside your container. |
Everything works fine. Thanks! |
Should I close this issue? |
Thanks for the prompt |
@ Today if I start server with docker-compose like that and modify a controller or a model it doesn't work adn I have to launch again with docker-compose up. I'm on Windows with Docker for Windows BETA. How to fix this? |
For anyone that runs into this issue in the future - I found out that when adding a Gemfile dependency, I was only rebuilding the |
Hi!
I'm using Docker and Docker Compose as my local development environment. The project is quite simple, one container based on a
postgres
image and another container for the Rails app (namedweb
). To use spring inside docker, I usually created a new container (docker-compose run web bash
) to run rakes, migrations and so on from there. Spring 1.6.4 has been working perfectly with that configuration.However, Spring 1.7.0 seems to not work if I run the commands inside the Docker container. The command just freezes and I get this backtrace if I send a
SIGINT
to the process:I tried to create an exampled app based on @jonleighton Docker example but I got a different error:
after modifying the files to make them look more similar to my app:
Dockerfile
docker-compose.yml
I would like to be more helpful here, but I've been looking at the
spring/client/run.rb
for a while and I don't even know where to start. Thanks!The text was updated successfully, but these errors were encountered: