Skip to content

CLI: show running devcontainers in coder show <workspace> output #16418

@johnstcn

Description

@johnstcn

Using the API endpoint provided in https://github.com/orgs/coder/projects/41/views/1?pane=issue&itemId=94819818, add support to the coder show <workspace> command to show running devcontainers visible to an agent.

CLI mockup:

$ coder show my-workspace
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ RESOURCE                                 STATUS       HEALTH     VERSION                    ACCESS                                       │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ docker_container.workspace                                                                                                               │
│ └─ agt (linux, amd64)                    ⦿ connected  ✔ healthy  v2.18.3-devel+4d9dd0aa9   coder ssh my-workspace.agt                    │
│    └─ prescient_dormouse (devcontainer)  ⦿ connected  ✔ healthy  -                         coder ssh my-workspace.agt.prescient_dormouse │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ docker_image.dogfood                                                                                                                     │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ docker_volume.home_volume                                                                                                                │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Metadata

Metadata

Assignees

Labels

cliArea: CLI

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy