From 6d872e41cdeef6c28b844b927ac60c5e213b1f11 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 5 Nov 2024 16:10:04 +0400 Subject: [PATCH] feat: allow extra mounts for docker-based `talosctl cluster create` Fixes #9607 Use docker CLI syntax, support any kind of mounts supported by docker CLI. Also drop modules from `talos` container image, as it's useless to provide modules in container mode. Signed-off-by: Andrey Smirnov (cherry picked from commit 05c620957ca741451da395036e8eca59e631fe8d) --- Dockerfile | 1 + cmd/talosctl/cmd/mgmt/cluster/create.go | 5 +++++ go.mod | 5 +++-- go.sum | 4 ++-- pkg/provision/providers/docker/node.go | 5 ++++- pkg/provision/request.go | 5 ++++- website/content/v1.8/reference/cli.md | 1 + 7 files changed, 20 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index af08c4d8d0..56d90ab2b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -736,6 +736,7 @@ RUN <