Skip to content

Rootless docker unable to run #11

@Erwinjitsu

Description

@Erwinjitsu

Hello,

I tried out these fantastic dockers and they work perfectly! Well, until I tried to run rootless docker. For whatever reason, the result is always the same:

> docker run -it ghcr.io/msys2/msys2-docker-experimental
Unable to find image 'ghcr.io/msys2/msys2-docker-experimental:latest' locally
latest: Pulling from msys2/msys2-docker-experimental
ba228c45a25d: Pull complete 
22022a77bd6d: Pull complete 
e68b40b2e382: Pull complete 
125da6a5ee82: Pull complete 
8295413cf8cd: Pull complete 
9bbe3b149bb1: Extracting [==================================================>]  109.2MB/109.2MB
5d94acb87889: Download complete 
3670a664678c: Download complete 
d69070d3ba0c: Download complete 
e523bcfff23d: Download complete 
3591eb2c8ee1: Download complete 
2f0523df3488: Download complete 
4f4fb700ef54: Download complete 
8733a5171da1: Download complete 
docker: failed to register layer: failed to Lchown "/root/.wine/drive_c/msys64/autorebase.bat" for UID 197108, GID 197121 (try increasing the number of subordinate IDs in /etc/subuid and /etc/subgid): lchown /root/.wine/drive_c/msys64/autorebase.bat: invalid argument.
See 'docker run --help'.

I've tried increasing the /etc/subuid and /etc/subgid but unfortunately it seems to not work.
I have, however, successfully obtained the base image rootless and run it.

My understanding of docker is pretty shallow but I would assume that you should be able to run any image rootless as well. At least in this case it would be great. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions