Skip to content

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

Open
@fayewong00

Description

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

Activity

tiantop

tiantop commented on Apr 1, 2022

@tiantop

端口不对吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      docker容器关闭后重启无效 · Issue #261 · ysrc/xunfeng