scrapinghub / portia

Visual scraping for Scrapy
BSD 3-Clause "New" or "Revised" License
9.22k stars 1.41k forks source link

docker run with userns-remap #854

Open JOduMonT opened 6 years ago

JOduMonT commented 6 years ago

Hi;

I would like to run your docker image in userspace but it give me an issue with the UID/GID, they are basically too high.

ISSUE:

docker: failed to register layer: Error processing tar file(exit status 1): Container ID 834600147 cannot be mapped to a host ID.

SOLUTION:

https://circleci.com/docs/2.0/high-uid-error/#solution

A MUST:

would be to make them dynamic like LinuxServer do with this script : https://github.com/linuxserver/docker-baseimage-alpine/blob/master/root/etc/cont-init.d/10-adduser