ふつうに作れそうだったので作ってみた。 以下、関連ファイル。 Dockerfile FROM ubuntu:latest MAINTAINER Genki Sugawara <sgwr_dts@yahoo.co.jp> RUN apt-get update RUN apt-get install -y haproxy ADD haproxy.cfg / ADD supervisor.sh / RUN chmod +x /supervisor.sh CMD ["/supervisor.sh"] supervisor.sh #!/bin/bash RELOAD=0 function set_reload() { RELOAD=1 } trap set_reload USR1 haproxy -f /haproxy.cfg & while true; do if [ $RELOAD -eq 1