Is it safe to run docker container in production as root?
How safe it is to run docker container as root user in production environment ? Is this standard practice or it is recommended to run docker container as non root user ?
My question assumes running docker daemon, docker client and application inside docker as root ( everything as root docker server, client and application inside container )
One Solution collect form web for “Is it safe to run docker container in production as root?”
It is safer, and better practice, to run as non-root, both in docker and non-docker environments. However, running as root within a docker container is at least somewhat less dangerous than running as root directly in the primary OS, but definitely for a production system running as root is pretty much unheard of by any company with even the most basic security concerns.