Skip to main content
Start with the Runloop Quickstart to use the examples below.
Runloop Devboxes default to the user user in the home folder /home/user/. You can specify a different user when creating a devbox via launch_parameters.user_parameters. Root is supported by natively as the following:
{
  launch_parameters: {
    user_parameters: {
      username: "root"
      uid: 0
    }
  }
}
Working example:
devbox = await runloop.devboxes.create(
  name="docs-template",
  launch_parameters={"user_parameters": {"username": "root", "uid": 0}}
)
Devboxes also support non-standard users from created blueprints. See Customizing the Base user for more information.