App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.
The console of an App Platform component is an in-browser command-line terminal whose shell context is a running container instance for a given resource. You can connect to the console of your app’s components (services and workers) to run commands in the component’s container.
By running commands in the console, you can see the active processes that are running inside the container, browse its local file system, monitor resource usage, observe system logs, and more. Connecting to the console is useful for troubleshooting issues, performing maintenance tasks, and running other one-off commands.
This is similar to other container workflows involving logging into the virtualized environment. For example, with containers that have a bash
shell, you can achieve the same effect locally by running docker exec -it CONTAINER_ID /bin/bash
.
You can access the console for a component using the DigitalOcean Control Panel or doctl
, the official DigitalOcean CLI.
To access a component’s console from the control panel, click your app, then click the Console tab. In the Console tab, select the component that you want access to open its console.