Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker容器关闭后重启无效 #261

Open
fayewong00 opened this issue May 22, 2021 · 1 comment
Open

docker容器关闭后重启无效 #261

fayewong00 opened this issue May 22, 2021 · 1 comment

Comments

@fayewong00
Copy link

docker容器
1.第一次启动容器成功运行 docker run -d -p 8000:80 -v /opt/data:/data ysrc/xunfeng:latest
2.关闭虚拟机,再次docker start 容器id或者restart也不行
3.查看运行容器已经up,但是映射的ip访问不了了

@tiantop
Copy link

tiantop commented Apr 1, 2022

端口不对吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants