Re: docker container fails to start after stopping

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: docker container fails to start after stopping
Дата
Msg-id CA+OCxox1+HMdgQrFE_WgdqyB0OofaA_=1CD1t2PvQ8Cc5yNWSg@mail.gmail.com
обсуждение исходный текст
Ответ на docker container fails to start after stopping  (Mark Deneen <mdeneen@gmail.com>)
Ответы Re: docker container fails to start after stopping  (Mark Deneen <mdeneen@gmail.com>)
Список pgadmin-hackers


On Tue, Jan 2, 2018 at 6:42 PM, Mark Deneen <mdeneen@gmail.com> wrote:
I submitted a pull request on github, but it appears that you prefer
to use a mailing list for such things.

Attached is a patch to correct the behavior in the Docker container.

The problem is that apache generates httpd.pid at startup and it is
never removed.  When the container is stopped, the file remains.  At
startup httpd fails to start because it believes that httpd is already
running.

The patch simply deletes this file before starting httpd.

Thanks - patch applied (with the addition of "-f" to quieten any errors). 

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Remove any Apache HTTPD PID file before startingthe
Следующее
От: Ashesh Vashi
Дата:
Сообщение: pgAdmin 4 commit: Remove any Apache HTTPD PID file before startingthe