Custom docker image
Run docker image as non-root user
Run Mage docker image as non-root user to restrict access to the system
By default, the official Mage docker images in DockerHub are using the root users. For production deployment, it’s recommended to use non-root users in the docker image to restrict access to the system for better security. Here is the Dockerfile template that you can use to build your custom docker image that runs Mage as non-root user.
Was this page helpful?