Report this

What is the reason for this report?

Is it possible to connect to the console of the application in the app platform from the doctl?

Posted on April 5, 2021

I have an application in the app platform, and I often use its console, but it is inconvenient to do it from the web version. Can I somehow connect to the console from the doctl?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
0

Accepted Answer

Hi there,

Quick update here: You can now access the App Platform console directly from the CLI using doctl.

Docs are here:
https://docs.digitalocean.com/products/app-platform/how-to/console/#access-a-components-console-using-the-cli

Example:

doctl apps console <app-id> <component-name>  

Super useful! 🚀

Hi there,

I believe that as of the time being this is not possible as the doctl uses the DigitalOcean Rest API.

You can find all of the available doctl arguments for the App platform here:

https://docs.digitalocean.com/reference/doctl/reference/apps/

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.