nazar-pc / docker-phpmyadmin

phpMyAdmin as Docker container, based on official image, always latest version
40 stars 16 forks source link

make changes in dockerfile and add entrypoint.sh file #8

Closed HatemJerbi closed 8 years ago

HatemJerbi commented 8 years ago

use ENTRYPOINT exec form to receive Unix signals

CTRL+C stop the container after this modification

nazar-pc commented 8 years ago

Can we just add set -e to Dockerfile directly? Would be preferable since container is really simple and I'd like to keep everything in single file while possible.

HatemJerbi commented 8 years ago

sorry you can't fix the problem with set -e in dockerfile CMD. because we must use the exec form ( look to ENTRYPOINT section in https://docs.docker.com/reference/builder/ )

nazar-pc commented 8 years ago

Didn't know that, thanks!