Skip to content

Commit

Permalink
Merge pull request #3655 from AkihiroSuda/fix-3652
Browse files Browse the repository at this point in the history
Mark `nerdctl builder debug` as incompatible with Docker
  • Loading branch information
AkihiroSuda authored Nov 7, 2024
2 parents 0d7dc8e + 6f2e032 commit 561334f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/nerdctl/builder/builder_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ CMD ["echo", "nerdctl-test-builder-prune"]`, testutil.CommonImage)
},
{
Description: "Debug",
NoParallel: true,
// `nerdctl builder debug` is currently incompatible with `docker buildx debug`.
Require: test.Require(test.Not(nerdtest.Docker)),
NoParallel: true,
Command: func(data test.Data, helpers test.Helpers) test.TestableCommand {
dockerfile := fmt.Sprintf(`FROM %s
CMD ["echo", "nerdctl-builder-debug-test-string"]`, testutil.CommonImage)
Expand Down
2 changes: 2 additions & 0 deletions docs/command-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,8 @@ This is an [experimental](./experimental.md) feature.

: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.

:warning: This command is currently incompatible with `docker buildx debug`.

Usage: `nerdctl builder debug PATH`

Flags:
Expand Down

0 comments on commit 561334f

Please sign in to comment.