Non-Root Container User
By default, the application runs as the root
user inside the container. However, it’s recommended to run the application as a non-root user for security reasons.
While Slink cannot enforce this, additional steps are required to run the application as a non-root user:
-
Create persistent directories on the host machine:
-
Change ownership of the directories to correspond to container user:
-
Update the
docker-compose.yml
file to run the application as a non-root user: -
Then you can proceed with the installation guide.