Closed kokleong9406 closed 2 years ago
Hi @kokleong9406, have you tried to add your user to the docker
group?
Hi @rodnymolina, thanks for the tips. I am now able to run docker commands after adding my user to the docker group
Great @kokleong9406, let us know if any other questions. I am closing this issue now.
I have been struggling with this. I built a system image with this Dockerfile:
and started the container with command
docker run -ti --rm --name sysbox-test sysbox:v1
. By default I will appear as "kokleong" in the system container. Once I am inside the system container, I am not able to start the docker daemon by doingdockerd
and use any docker commands at all. Anyone knows how to get around with this without starting the container withdocker run -ti -u 0 --rm --name sysbox-test sysbox:v1
with the-u 0
flagAs can be seen in the Dockerfile, I even added "kokleong" to "root" group. Any help is appreciated.