Closed aginanjar closed 2 years ago
Hi @aginanjar. The logs show an issue with setting up ID maps for virtiofsd:
retrieving subordinate UID range: opening /etc/subuid: no such file or directory
You need to create 2 files /etc/subuid
and /etc/subgid
with ranges for user and group id mapping.
An example:
$ echo <USER>:10000:65536 >> /etc/subuid
$ echo <USER>:10000:65536 >> /etc/subgid
@aiordache thanks the solution suggested works!
@aiordache works like a charm. Thanks!
Hi @aginanjar. The logs show an issue with setting up ID maps for virtiofsd:
retrieving subordinate UID range: opening /etc/subuid: no such file or directory
You need to create 2 files
/etc/subuid
and/etc/subgid
with ranges for user and group id mapping. An example:$ echo <USER>:10000:65536 >> /etc/subuid $ echo <USER>:10000:65536 >> /etc/subgid
Thanks alot Bro it realy saved me alot of time after day of strugle i 'm Using Endeavouros distro and wanted to install docksal ["wordpress, drupal, laravel,...etc" Dev Enviroment 'docker based' ]
We've updated our documentation with more details on the file sharing set up used by DD - https://docs.docker.com/desktop/install/linux-install/#file-sharing . And included subordinate ID delegation configuration in the list of installation pre-requisites.
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked
I fallowed docker-documentation and : ╭─ ~/Downloads ▓▒░────────────────────────────────────────────────────────────░▒▓ 2 ✘ at 06:03:53 ─╮ ╰─ ─╯ sudo setfacl -Rm u:$USER:rwX ~/Documents/development sudo setfacl -Rm d:u:$USER:rwX ~/Documents/development
setfacl: Option -m: Invalid argument near character 3 setfacl: Option -m: Invalid argument near character 5 ╭─ ~/Downloads ▓▒░────────────────────────────────────────────────────────────░▒▓ 2 ✘ at 06:04:26 ─╮ ╰─ ─╯ sudo setfacl -Rm u:"$USER":rwX ~/Documents/development sudo setfacl -Rm d:u:"$USER":rwX ~/Documents/development
╭─ ~/Downloads ▓▒░──────────────────────────────────────────────────────────────░▒▓ ✔ at 06:04:57 ─╮ ╰─ ─╯ grep "$USER" /etc/subuid >> /dev/null 2&>1 || (echo "$USER:100000:65536" | sudo tee -a /etc/subuid) grep "$USER" /etc/subgid >> /dev/null 2&>1 || (echo "$USER:100000:65536" | sudo tee -a /etc/subgid) ╭─ ~/Downloads ▓▒░──────────────────────────────────────────────────────────────░▒▓ ✔ at 06:06:31 ─╮ ╰─ ─╯ sudo grep "$USER" /etc/subuid >> /dev/null 2&>1 || (echo "$USER:100000:65536" | sudo tee -a /etc/subuid) sudo grep "$USER" /etc/subgid >> /dev/null 2&>1 || (echo "$USER:100000:65536" | sudo tee -a /etc/subgid) ╭─ ~/Downloads ▓▒░──────────────────────────────────────────────────────────────░▒▓ ✔ at 06:12:21 ─╮ ╰─ ─╯ cat /etc/subuid
irrefl:100000:65536 ╭─ ~/Downloads ▓▒░──────────────────────────────────────────────────────────────░▒▓ ✔ at 06:12:29 ─╮ ╰─ ─╯ cat /etc/subgid irrefl:100000:65536
Expected behavior
Docker Desktop runs
Actual behavior
Stuck with "Docker Desktop Starting..."
Information
This problem happened in Docker Desktop 4.10.1.
Previously, I moved docker installation path from
/var/lib/docker
to/home/user/docker
.docker
runs as well, but if I opendocker-desktop
, and rundocker ps
its get me this message : `Cannot connect to the Docker daemon at unix:///home/user/.docker/desktop/docker.sock. Is the docker daemon running?Steps to reproduce the behavior
/var/lib/linux
to other pathdocker run hello-world
docker ps
docker ps