Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/nerdctl/container_run_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"io"
"net/http"
"os"
"os/exec"
"path/filepath"
"runtime"
"strconv"
Expand All @@ -50,6 +51,8 @@ func TestRunCustomRootfs(t *testing.T) {

func prepareCustomRootfs(base *testutil.Base, imageName string) string {
base.Cmd("pull", imageName).AssertOK()
// workaround for https://github.com/containerd/nerdctl/issues/2327
exec.Command("ctr", "-n", "nerdctl-test", "i", "pull", imageName).Run()
tmpDir, err := os.MkdirTemp(base.T.TempDir(), "test-save")
assert.NilError(base.T, err)
defer os.RemoveAll(tmpDir)
Expand Down