Replies: 1 comment
-
Also mentioned here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried to run docker with root, but adding docker group to the VM user doesn't apply (
sudo usermod -aG docker $USER
). It is like you have to start a new login session. You can do it by simply stopping and starting the VM.To see the behavior, you can use the root-docker.yaml example.
When you run the command
limactl shell root-docker
with below example, you won't see thedocker
group for your user (default user is lima). However, you can check the groups for current user withgroups
command. Then runsudo su - myUser
, now you will see thedocker
groups for your user.root-docker.yaml
Basically this causes the Docker socket is not usable from the host machine, but inside VM, it is usable when you run
sudo su - myUser
or root user.I am not sure, but this shouldn't be the behavior. Whenever I start a new VM, all settings and commands in the YAML file should be usable.
Also, there is a discussion here.
Beta Was this translation helpful? Give feedback.
All reactions