PowerProtect:如何修改 PPDM NAS 代理中的 docker 容器的默认 MTU
Summary: 如何将 PPDM NAS 代理中的 docker 容器的默认 MTU 1500 修改为不同的值 (1400)
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
要修改 PPDM NAS 代理中 docker 容器的默认 MTU,请执行以下步骤:
以“admin”身份登录,并在 NAS 代理或保护引擎计算机上更改为“root”。
1) 编辑文件 /usr/lib/systemd/system/docker.service
2) 修改以下行。
3) 将 MTU=1400 添加到 network.service
4) 运行命令 systemctl daemon-reload
5) 运行命令 systemctl restart docker.server
以“admin”身份登录,并在 NAS 代理或保护引擎计算机上更改为“root”。
1) 编辑文件 /usr/lib/systemd/system/docker.service
2) 修改以下行。
ExecStart=/usr/bin/dockerd --add-runtime oci=/usr/sbin/docker-runc $DOCKER_NETWORK_OPTIONS $DOCKER_OPTS --mtu=1400
2) 通过运行 将 eth0 和 eth1 MTU 更新到 1400。
ifconfig eth0 mtu 1400
ifconfig eth1 mtu 1400
3) 将 MTU=1400 添加到 network.service
4) 运行命令 systemctl daemon-reload
5) 运行命令 systemctl restart docker.server
Article Properties
Article Number: 000215307
Article Type: How To
Last Modified: 02 Oct 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.