containerd / containerd/nerdctl

It should be possible to run integration tests against docker without sudo

Open
#3,578 0 comments 0 reactions 0 assignees View on GitHub
kind/unconfirmed-bug-claim
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

### Description

Currently, `-exec sudo` is required when targeting docker for integration tests.

It should be possible to test without that.

There are currently issues preventing it - most of them around `systemctl` w/o `--user`, but also some tests assuming you can manipulate from the host any filesystem resource controlled but the daemon.

Or if this is not desirable, we should check and fail immediately if not root.

### Steps to reproduce the issue

_No response_

### Describe the results you received and expected

na

### What version of nerdctl are you using?

main

### Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

### Host information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.