在 Dockerfile 中让它不退出的方法
<https://stackoverflow.com/questions/30209776/docker container will automatically stop after docker run d 这样就可以了。
GGAMI
ENTRYPOINT ["tail"]
CMD ["-f","/dev/null"]这样就可以了。
<https://stackoverflow.com/questions/30209776/docker container will automatically stop after docker run d 这样就可以了。
ENTRYPOINT ["tail"]
CMD ["-f","/dev/null"]这样就可以了。