I’ve got a following issue: When I use prebaked image and specify option "userns-remap": "default" in daemon.json docker file, it makes everything rootless but with a sub user id, like: dockremap:231072:65536 Same with GUID. But for file permissions management and convenience, I’d like to run it under some specific real user without remapping. Can you ..
I have some private docker registries and I added their certificates in /etc/docker/certs.d/[domain.name.com]/ca.crt and it’s working but my problem is that I have to use sudo with docker even if I am in the docker group and rebooting (multiple tries). So I gave a try to rootless docker but now it seems that I can’t ..
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 container: I’ve set up a rootless docker following the instruction on https://docs.docker.com/engine/security/rootless/ Build ..
docker rootless daemon fails on RHEL VMs with centrifydc enabled with error error: dockerd-rootless.sh: failed to load listeners: can’t create unix socket /run/user/uid/docker.sock: chown /run/user/uid/docker. sock: invalid argument But works fine when centrifydc is disabled. No helpful logs from centrify, any help please Source: Docker..
I have installed docker rootless on an ubuntu host machine. I have a Dockerfile for building timescaledb with the most important part looking like that: # Install the tools we need for installation RUN apt-get update && apt-get -y install gnupg2 lsb-release wget # Add Postgres and Timescale package repository RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release ..
I am trying to route a home VPN via NordVPN, but I can’t make it work. Basically, I want my Internet requests to go: Phone -> Home -> NordVPN. The reason is that I want to have a split VPN which can access my home devices while also accessing the Internet without giving my IP. ..
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 XDG_RUNTIME_DIR=/home/test/.docker/run; export PATH=/home/test/bin:$PATH; export DOCKER_HOST=unix:///home/test/.docker/run/docker.sock Finally, when trying to manually start the docker daemon, it’s failing ..
Using the formal instructions here is not working as expected. I am using ubuntu 18.04 with docker 19.03. I start with disabling the current rootfull docker: sudo systemctl disable –now docker.service and I can confirm the docker daemon stopped with docker version: Client: Docker Engine – Community Version: 19.03.13 API version: 1.40 Go version: go1.13.15 ..
Installing Rootful Docker on my Raspberry Pi updates the sources and one can configure unattended-upgrades to update Docker automatically by looking at sudo apt-cache policy. However, Rootless Docker doesn’t. So is there a way to upgrade Rootless Docker ? In other words: With Rootful Docker, sudo apt-get update && sudo apt-get -y upgrade on the ..
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 the files created by actions run in docker containers. Can this be solved by running ..