I am installing docker on this image, and I am facing some issues with permissions.
I want to add ubuntu user to the docker group, I've tried to run this command from the Dockerfile but it said that ubuntu is not exists: RUN usermod -aG docker root.
there is a flow that i can run this line with sudo permission on startup or image creation?
I am installing docker on this image, and I am facing some issues with permissions. I want to add ubuntu user to the docker group, I've tried to run this command from the Dockerfile but it said that ubuntu is not exists:
RUN usermod -aG docker root
.there is a flow that i can run this line with sudo permission on startup or image creation?