IMC3ofC / db2express-c.docker

Dockerfile and scripts for creating IBM DB2 Express-C Docker image
Other
26 stars 27 forks source link

added signal handling and db2diag displaying #1

Closed bmanojlovic closed 9 years ago

bmanojlovic commented 9 years ago

entrypoint script has been extended so that it correctly shutdown database when is called trough

docker stop <container_name>

Of course docker kill will not do shutdown procedure but neat thing with signal handling is that now

docker kill -s USR1 <container_name>

will provide instance restart on demand without tearing down container. Logs of db2diag can be seen using default logging behavior:

docker logs -f <container_name>
wzymaster commented 9 years ago

@bmanojlovic thanks very much and let me know if there is anything else that I can follow up.