When start a Docker image and it is running as a container, I am sent in as root. I do not want this. Just being sent it as a user would be fine.
Can I go in a user and if so how do I do it?
Respectfully
Share and learn in the Docker community.
When start a Docker image and it is running as a container, I am sent in as root. I do not want this. Just being sent it as a user would be fine.
Can I go in a user and if so how do I do it?
Respectfully
docker exec -itu <user_you'd_like_to_get_in_as> <container_id> bash
I hope this helps
Yes, that works thanks.
Natalia1479