浏览代码

Address firewall issues on RHEL in README

Birkhoff Lee 5 年之前
父节点
当前提交
0aff625d33
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -120,6 +120,13 @@ For more information about docker data volume, please refer to:
 
 
 > [https://docs.docker.com/engine/tutorials/dockervolumes/](https://docs.docker.com/engine/tutorials/dockervolumes/)
 > [https://docs.docker.com/engine/tutorials/dockervolumes/](https://docs.docker.com/engine/tutorials/dockervolumes/)
 
 
+#### Firewall issues on RHEL/CentOS
+Docker Engine doesn't work well with firewall-cmd and can cause issues if you're connecting to the LDAP server from another container on the same machine. You can fix this by running:
+```
+$ firewall-cmd --add-port=389/tcp --permanent
+$ firewall-cmd --add-port=636/tcp --permanent
+```
+Learn more about this issue at https://github.com/moby/moby/issues/32138
 
 
 #### Edit your server configuration
 #### Edit your server configuration