Category : rootless

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 ..

Read more

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 ..

Read more

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 ..

Read more

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 ..

Read more

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 ..

Read more