Skip to content

Commit 561334f

Browse files
authored
Merge pull request containerd#3655 from AkihiroSuda/fix-3652
Mark `nerdctl builder debug` as incompatible with Docker
2 parents 0d7dc8e + 6f2e032 commit 561334f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

cmd/nerdctl/builder/builder_builder_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ CMD ["echo", "nerdctl-test-builder-prune"]`, testutil.CommonImage)
7171
},
7272
{
7373
Description: "Debug",
74-
NoParallel: true,
74+
// `nerdctl builder debug` is currently incompatible with `docker buildx debug`.
75+
Require: test.Require(test.Not(nerdtest.Docker)),
76+
NoParallel: true,
7577
Command: func(data test.Data, helpers test.Helpers) test.TestableCommand {
7678
dockerfile := fmt.Sprintf(`FROM %s
7779
CMD ["echo", "nerdctl-builder-debug-test-string"]`, testutil.CommonImage)

docs/command-reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,8 @@ This is an [experimental](./experimental.md) feature.
12601260

12611261
:warning: This command currently doesn't use the host's `buildkitd` daemon but uses the patched version of BuildKit provided by buildg. This should be fixed in the future.
12621262

1263+
:warning: This command is currently incompatible with `docker buildx debug`.
1264+
12631265
Usage: `nerdctl builder debug PATH`
12641266

12651267
Flags:

0 commit comments

Comments
 (0)