Rails server is still running in a new opened docker container

前端 未结 9 1340
面向向阳花
面向向阳花 2021-01-31 08:05

I want to deploy my rails project using Docker. So I use Docker-Compose. But I get one weird error message. When run docker-compose up(this contains db-container with postgresql

9条回答
  •  余生分开走
    2021-01-31 08:20

    What I have done, Is to go on the bash shell of docker:

    docker-compose run web /bin/bash

    then remove the following file

    rm tmp/pids/server.pid

    Hope that it help!

提交回复
热议问题