From 1ccfc5989d6531f5860b32cad62a300cc0a74396 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Sat, 12 Sep 2026 14:32:14 +0800 Subject: [PATCH] =?UTF-8?q?chore(etc):=20=E6=B7=BB=E5=8A=A0=20docker=20cdi?= =?UTF-8?q?=20=E8=A7=84=E8=8C=83=E7=9B=AE=E5=BD=95=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/docker/daemon.json | 6 +++++- etc/docker/daemon.jsonc | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/docker/daemon.json b/etc/docker/daemon.json index 05a47d5..52849d6 100644 --- a/etc/docker/daemon.json +++ b/etc/docker/daemon.json @@ -19,5 +19,9 @@ "min-api-version": "1.24", "insecure-registries": [ "hub.tp229.com:3500" + ], + "cdi-spec-dirs": [ + "/etc/cdi", + "/data/docker/cdi" ] -} \ No newline at end of file +} diff --git a/etc/docker/daemon.jsonc b/etc/docker/daemon.jsonc index a2ed948..0b53df3 100644 --- a/etc/docker/daemon.jsonc +++ b/etc/docker/daemon.jsonc @@ -24,4 +24,9 @@ "_comment_20260618173842": "\"insecure-registries\": [\"hub.tp229.com:3500\"]", "_comment_20260619173657": "按实际情况填写", "_comment_20260619173708": "\"bip\": \"172.18.0.1/16\"", + "_comment_20260912173500": "新版本 docker 的 CDI 设备规范目录,按实际需要启用", + "cdi-spec-dirs": [ + "/etc/cdi", + "/data/docker/cdi" + ], }