Root Access to any Container

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.

Was this article helpful?
1 out of 1 found this helpful

Articles in this section

See more
Reclaim Hosting Support Hours
8:00 am - 5:00 pm ET, Monday through Friday
Submit a Ticket
Get a quick and helpful response from the pros.
Need Extra Support?
No problem, we're here to help! Talk to us about Professional Services or custom Service Level Agreements.