Jump to content

求助:docker界面如何设置容器的ip


Recommended Posts

由于unraid主机开启了公网的ipv6的访问,想要尽量少的暴露端口,仅保留一些供文件共享、unraid ssh、webui和docker nginx https访问的端口,并在nginx增加一层身份认证。
目前想让除了nginx之外的所以容器不暴露接口,让nginx通过docker的网桥访问其他容器,目前的问题是无法为docker容器设置固定的ip,请问如何能在docker界面设置容器的ip呢?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...