non-root user inside a Docker container
One of the things that you notice when using Docker, is that all commands you run from the Dockerfile
with RUN
or CMD
are performed as the root
user. This is not only a bad security practice for running internet facing services, it might even prevent certain applications from working ...