-
Get network details
ip a
-
Create and Update config file for docker daemon
mkdir /etc/docker/
touch /etc/docker/daemon.json
cat > /etc/docker/daemon.json << EOF
{
"exec-opts": ["native.cgroupdriver=systemd"],
"default-address-pools":
[
{"base":"10.10.0.0/16","size":24}
],
"insecure-registries":["k8s-manager:5000"]
}
EOF
- Restart Docker runtime
systemctl restart docker
systemctl enable docker