I have installed Docker 1.9 and want to know if I am using the instruction in the right way.
FROM internal.docker.registry/image1
MAINTAINER internal@abc.com
COPY sample.war webapps/sample.war
STOPSIGNAL SIGKILL
My understanding is that when I do
docker stop container_id
, it will stop the tomcat that is running within container. It will also delete the Pid file.
Please verify if I have the correct understanding.