Running Docker Containers with Non-root Users or Random User IDs
February 12, 2017 By default, Docker containers run as root. Using root is dangerous and it may not be available in all environments. “Best practices for writing Dockerfiles” recommend that “…If a service can run without privileges, use USER to change to a non-root user”. There is a twist to this – for better… Read More »Running Docker Containers with Non-root Users or Random User IDs