Difficulty: Advanced
By default, many application servers (with the exception of VPS and Docker containers) use an application-specific user with restricted access to prevent issues. There are occasional times where you might be using an application server and need root access to install a server-level package. To give that user sudo access you can use the following guide.
Note: Running commands on a container as the root user has the potential of breaking your application. Please proceed with caution
Click Marketplace from the top menu bar
Go to the Add-Ons category, then Root access, then click Install.
Select the appropriate environment and container and click Install
Once the install is complete, you can use sudo with commands as needed or use sudo su - to log in as the root user.