Hi Team, With `Docker version 28.0` , when we run ...
# k3s
f
Hi Team, With
Docker version 28.0
, when we run a Zookeeper container, the Zookeeper container port 2181 is not reachable from other hosts. It was working until
Docker version 27.5.1
.
Copy code
docker run -d \
  --name zookeeper \
  -p 2181:2181 \
  zookeeper:latest
It has been due to
Docker version 28.0
add below iptable rule
Copy code
# iptables -L -t nat -v -n |grep 2181
# Warning: iptables-legacy tables present, use iptables-legacy to see them
   30  1748 DNAT       tcp  --  !docker0 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:2181 to:10.1.215.5:2181
Docker doc https://docs.docker.com/engine/release-notes/28/#networking mentioned, if we add
DOCKER_INSECURE_NO_IPTABLES_RAW=1
env variable then it will skip adding RAW table rules. but its not working.
Copy code
[Service]
Environment="DOCKER_INSECURE_NO_IPTABLES_RAW=1"
any help/idea please.
r
wrong chat?
🎯 1
f
https://github.com/flannel-io/flannel Flannel support has mentioned this channel
s
I think the "Contact" section is confusing, since it comes after both the "Getting started with Kubernetes" and the "Getting Started with Docker" sections. The
#k3s
channel is mentioned because k3s is recommended in the "Getting started with Kubernetes" section. I think you are in the "Getting Started with Docker" section, where Kubernetes (of which K3s is a distribution) is not relevant. You are not necessarily going to know that. As I say, I think that "Contact" section in confusing. Good luck with getting support from one of the other contact suggestions 🙂