If you are using Docker, you can create a system user that can access and manage your Docker containers. You can also specify the shell and the login container for the user if you use an rc-shell.
Here are the steps to create a system user for Docker containers:
- Go to the System User section and click on “Add New System User“
- Enter a username for the user
- Choose whether to grant the user sudo privileges or not. If you grant sudo privileges, the user will be able to manage Docker services.
- If you don’t grant sudo privileges, your user will log into a jailed shell. This will allow the user to execute php and composer commands, but restrict their access to system files and services.
- Click on “Save System User“. This will create a user account on your server with the specified credentials.
You can view a list of all users in the “System User” tab.
After you have created a system user, you should add SSH keys, configure SSH notifications, and harden your server before doing anything else.