Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mount: permission denied (are you root?) #196

Open
PrajwalNReddy opened this issue Mar 15, 2024 · 0 comments
Open

mount: permission denied (are you root?) #196

PrajwalNReddy opened this issue Mar 15, 2024 · 0 comments

Comments

@PrajwalNReddy
Copy link

Description:

We are getting mount: permission denied error when executing docker run command.

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

We are running docker as rootless

Obtained output :

mount: permission denied (are you root?)
mount: permission denied (are you root?)

Environment:

Ubuntu 20.04

  • QEMU version:
docker pull multiarch/qemu-user-static:latest
latest: Pulling from multiarch/qemu-user-static
Digest: sha256:fe60359c92e86a43cc87b3d906006245f77bfc0565676b80004cc666e4feb9f0
Status: Image is up to date for multiarch/qemu-user-static:latest
  • Container application: Docker

Output of docker version

Client: Docker Engine - Community
 Version:           25.0.4
 API version:       1.44
 Go version:        go1.21.8
 Git commit:        1a576c5
 Built:             Wed Mar  6 16:32:14 2024
 OS/Arch:           linux/amd64
 Context:           rootless

Server: Docker Engine - Community
 Engine:
  Version:          25.0.4
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.8
  Git commit:       061aa95
  Built:            Wed Mar  6 16:32:14 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
 rootlesskit:
  Version:          2.0.2
  ApiVersion:       1.1.1
  NetworkDriver:    slirp4netns
  PortDriver:       builtin
  StateDir:         /run/user/1000/dockerd-rootless
 slirp4netns:
  Version:          0.4.3
  GitCommit:        2244b9b6461afeccad1678fac3d6e478c28b4ad6

Additional information optionally:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant