2021
03-24
03-24
解决docker run后容器出现Exited (0)情况的问题
自己做了个centos7的openresty的Dockerfile,build之后dockerrun-d-p801:80openresty:1.19/usr/local/openresty/nginx/sbin/nginx之后dockerps-a出现如下情况CONTAINERIDIMAGECOMMANDCREATEDSTATUSPORTSNAMES9dee2d04b3b5openresty:1.19"/usr/local/openrest…"24secondsagoExited(0)7secondsagogifted_bhabha69846af3baa7redis:latest"docker-entrypoint.s…"24minutesagoUp24minutes0.0.0....
继续阅读 >