ros-infrastructure / ros_buildfarm

ROS buildfarm based on Docker
Apache License 2.0
77 stars 95 forks source link

Set PODMAN_USERNS=keep-id when invoking 'docker run' #1032

Closed cottsay closed 3 months ago

cottsay commented 3 months ago

The way Dockerfiles are structured in ros_buildfarm, we're dependent on the UID staying the same when the container is run.

Setting PODMAN_USERNS=keep-id when the docker command is backed by Podman will in effect preserve the behavior of Docker we're relying on here. When the docker command is backed by Docker, this shouldn't change the behavior at all.

So far, this change combined with #1013 has enabled use of Podman for all release and devel jobs locally.