Run rootless Docker inside the VM
- Dominant language
- Go
- Stars
- 30.8k
- Forks
- 613
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Currently, Docker is running in the virtual machine as the root user. I would like to be able to run the daemon in non-privileged mode for better security.
inside the VM:
```shell
user@colima:/Users/user/Downloads$ ps -ef|grep docker
root 1471 1 0 13:12 ? 00:00:00 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --host-gateway-ip=192.168.5.2
user 2465 1799 0 13:17 pts/0 00:00:00 grep --color=auto docker
user@colima:/Users/user/Downloads$ docker info|grep rootless
user@colima:/Users/user/Downloads$
```
If Docker is running in rootless mode, output should contain `rootless` keywords:
```
$ docker info
Client: Docker Engine - Community
Version: 28.3.3
Context: rootless
...
Server:
...
Security Options:
seccomp
Profile: builtin
rootless
cgroupns
...
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.