On 2024-05-08 03:39, Simon Lees wrote:
On 5/8/24 4:08 AM, Carlos E. R. wrote:
On 2024-05-07 15:56, Simon Lees wrote:
On 5/7/24 9:27 PM, Carlos E. R. wrote:
On 2024-05-07 12:32, Simon Lees wrote:
...
Isengard:~ # docker run -p 8080:8080 -v /data/hoard_2/osuse_cache/:/tmp/osuse_cache/ -u X:X firstyear/opensuse_proxy_cache:latest Unable to find image 'firstyear/opensuse_proxy_cache:latest' locally latest: Pulling from firstyear/opensuse_proxy_cache 9057b302fcfd: Pull complete fa32021715b2: Pull complete 1cd46f9ba906: Pull complete 7bb1a2809339: Pull complete b8bb2eabb8f0: Pull complete 428078d06f46: Pull complete a7de8e218dc2: Pull complete 0bd56b2411a0: Pull complete 8822301f7c75: Pull complete Digest: sha256:5c4fa25af847cc405bacf09415706053dcc7bb287fb25884ca47020cf1543efc Status: Downloaded newer image for firstyear/opensuse_proxy_cache:latest docker: Error response from daemon: unable to find user X: no matching entries in passwd file. ERRO[0015] error waiting for container: Isengard:~ #
Huh, so what user must be that X?
Apparently in a past life I created a separate user "osuse_cache" that is just part of the "users" group, which on my system has the uid 1001, so I pass that in. In my case that user has permission to read and write to "/your/storage/"
Ok, then I understand I should create a user that owns the storage, and give that user as "-u that_user:that_user"? Or something else? :-? -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)