osixia / docker-keepalived

Keepalived container image 🐳🌴
MIT License
395 stars 143 forks source link

run error #28

Open xiaoproject opened 5 years ago

xiaoproject commented 5 years ago

$ docker run -d --name kmaster -v /SHEIN-Docker/keepalived/conf/mykeepalived.conf:/container/service/keepalived/assets/keepalived.conf osixia/keepaliv ed --copy-service

Log message

CONTAINER_LOG_LEVEL = 3 (info) Copy /container/service to /container/run/service Search service in CONTAINER_SERVICE_DIR = /container/run/service : link /container/run/service/keepalived/startup.sh to /container/run/startup/keepalived link /container/run/service/keepalived/process.sh to /container/run/process/keepalived/run link /container/run/service/keepalived/finish.sh to /container/run/process/keepalived/finish Set environment for startup files Environment files will be proccessed in this order : Caution: previously defined variables will not be overriden. /container/environment/99-default/default.yaml

To see how this files are processed and environment variables values, run this container with '--loglevel debug' Running /container/run/startup/keepalived... Set environment for container process *** Environment files will be proccessed in this order : Caution: previously defined variables will not be overriden. /container/environment/99-default/default.yaml

To see how this files are processed and environment variables values, run this container with '--loglevel debug' Running /container/run/process/keepalived/run... Waiting config file /usr/local/etc/keepalived/keepalived.confok Wed May 29 02:48:18 2019: Starting Keepalived v2.0.15 (04/04,2019), git commit v2.0.14-53-g9de2817c+ Wed May 29 02:48:18 2019: Running on Linux 4.14.116-boot2docker #1 SMP Tue May 7 00:02:53 UTC 2019 (built for Linux 4.4.6) Wed May 29 02:48:18 2019: Command line: '/usr/local/sbin/keepalived' '-f' '/usr/local/etc/keepalived/keepalived.conf' Wed May 29 02:48:18 2019: '--dont-fork' '--log-console' '--log-detail' '--dump-conf' Wed May 29 02:48:18 2019: Configuration file '/usr/local/etc/keepalived/keepalived.conf' is not a regular non-executable file Wed May 29 02:48:18 2019: Stopped Keepalived v2.0.15 (04/04,2019), git commit v2.0.14-53-g9de2817c+ /container/run/process/keepalived/run exited with status 6 Running /container/run/process/keepalived/finish... Killing all processes...