run docker all the time

docker run -d -p 8081:8081 centos:latest  /usr/bin/bash -c "trap : TERM INT; sleep infinity & wait"
原文地址:https://www.cnblogs.com/otfsenter/p/9863945.html