search

Home  >  Q&A  >  body text

docker停止后,重新运行容器,端口绑定失效

如何使docker停止后,重新运行的容器端口映射保持有效?否则nginx之类的怎么办?

伊谢尔伦伊谢尔伦2771 days ago709

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-04-27 09:04:54

    The default is fine.
    If it fails, check if there are other containers or applications in use

    docker ps -a to see the container

    Netstat to see the host application

    reply
    0
  • Cancelreply