Questions tagged [rootless]
72 questions
8
votes
1 answer
Rootless Docker: Permission denied when writing files to volume mount without sudo
I'm unable to write to a mounted volume when in my container (through ssh) without sudo permissions. The mounted folder is host user's home folder at the host. I'm running a rootless docker daemon.
I did the following steps to start a…

Gert Dekkers
- 81
- 2
6
votes
1 answer
How to enable non-docker actions to access docker-created files on my self hosted github actions runner? (rootless docker)
Github recommending running their runner as a non-root user gives rise to some issues surrounding mixing docker and non-docker actions. This is quite annoying because it results in the checkout action not being able to run because it can't access…

Frederik Baetens
- 781
- 1
- 9
- 20
6
votes
0 answers
Mount NFS share in docker in rootless mode
I am trying to mount an NFS share in a docker containe, but I cannot do so because the container running under rootlesskit does not have permissions to use escalate privileges on the host.
Is there a way to mount a share with rootlesskit or modify…

QuirkyBit
- 654
- 7
- 20
5
votes
1 answer
docker rootless on ubuntu - overlay2 failed: driver not supported
whilst I managed to get rootless docker containers running on Ubuntu 19.10 by just following the instructions on the main site, it only lasted a day.
https://docs.docker.com/engine/security/rootless/
After rebooting the machine, the docker daemon…

fracca
- 2,417
- 1
- 23
- 22
4
votes
0 answers
Rootless Docker: Need to provide write access to a non-root user in docker container for a volume mounted on the host
I want to provide write access to a non-root user in a docker container for a volume mounted on the host. I have the same non-root user and group inside container and host as well.
While running the container, I mount a host volume to it -v…

Dmytro Liakhov
- 41
- 3
4
votes
1 answer
Permission denied trying to use rootless Podman + docker-compose + Traefik with podman.sock
TL:DR: Trying to use rootless Podman with docker-compose through podman socket, and use a Traefik container (talking to podman socket) to proxy traffic to other containers, related to https://stackoverflow.com/a/73774327/1469083
I get permission…

Janne Mattila
- 598
- 7
- 20
4
votes
0 answers
Is it possible to list running containers started by other users with Podman?
When I run rootless containers as a non-root user, I can see them with podman ps -a as that user.
However, I don't see those containers when I login as root to the system and run podman ps -a.
Is there a way for the root user to view all containers…

mnorthup
- 41
- 2
3
votes
1 answer
How to access localhost on rootless docker
I tried:
services:
susebox:
build: .
entrypoint:
- python3
- -m
- http.server
ports:
- 8000:8000
extra_hosts:
- "host.docker.internal:host-gateway"
but I can't do curl to host.docker.internal. ping…

너를 속였다
- 899
- 11
- 26
3
votes
0 answers
Rootless docker with Windows AD auth
Recently, I began to use docker for my lab's server. The server is a Linux server with Ubuntu server 18.04 installed. Users' login authentication is using Windows Active Directory (AD). My current solution to run non-root docker is by adding users…

CL. Wang
- 158
- 3
- 8
3
votes
0 answers
Unable to install docker daemon rootless
I'm trying to install the docker daemon as a non-root user. I'm running this on RHEL 7.9.
Steps followed:
Created a non-root user and switched to that user.
Ran curl -fsSL https://get.docker.com/rootless | sh
Set below env variables:
export…

tkcode
- 65
- 1
- 9
3
votes
1 answer
Docker rootless unable to pull images
I am running docker rootless on a server, following https://docs.docker.com/engine/security/rootless/.
With this I am able to pull and run hello-world. But whenever I want to pull a more complex image, I run into the following error:
$ docker pull…

wazzup
- 83
- 6
3
votes
1 answer
How to set mounted folder permission in podman
Abstract
When I mount a folder to my container and the path to the folder is not yet created on the client podman will create it for me. I can set the permissions for the mounted folder on my host machine to match it to the container-user, but the…

null
- 45
- 1
- 5
2
votes
3 answers
How to: Podman rootless expose containers ports to the outside and see real client ip
This is my first time asking something on stackoverflow. For years I've been lurking but now I decided to finally register myself. Hence, I apologize if my question/information is not formatted nicely.
Current situation:
I'm slowly getting more and…

Saqeria
- 21
- 3
2
votes
1 answer
How to change data directory for Docker Rootless?
The only info about rootless data dir on the official Docker Docs website is:
The data dir is set to ~/.local/share/docker by default. The data dir should not be on NFS.
However I didn't found any option to change this during installation via…

Umcyumcy20
- 21
- 1
2
votes
1 answer
Is there a way to run /kaniko/executor as non-root user inside container to build an image?
I am trying to run /kaniko/executor in corporate OKD cluster to build docker images as part of CI process using Jenkins. This is the first time we are trying to introduce kaniko in our OKD cluster .
The Jenkins agent workload runs as pod inside the…

karthik ravi
- 59
- 1
- 3