I’m a new user in Docker.
I created two files: Dockerfile and docker-compose.yml for a rails application.
I ran ‘docker-compose run groovecollab_website’ to create a m container with my exist project. The container was created but the bundle command returned an error. I want to access this container to install manually, but I have a problem.
To access a container I ran ‘docker exec -it name_of_project bash’ and I received this error.
Error response from daemon: Container name_of_project is not running
I tried to start this container with command:
docker start -a my_container_id
And I received:
Could not find minitest-5.7.0 in any of the sources
bundle install to install missing gems.
I cannot start because the COMMAND this container is “bundle exec rails s”
CONTAINER ID COMMAND
b6c3e455f748 “bundle exec rails s”
How can I solve this?