You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expose a handler and endpoint in the Agent API to list all running devcontainers.
Running devcontainers will be identified using a combination of docker ps -q and docker inspect commands.
If the docker binary is not present in the agent's $PATH or the agent lacks required permissions, log the error and return the error on subsequent requests to the endpoint.
Also expose an endpoint in the Coder API to allow directly querying this agent API endpoint, similar to the "listening ports" endpoint.
For now, only support Docker via docker CLI.
The text was updated successfully, but these errors were encountered:
Fixes#16268
- Adds `/api/v2/workspaceagents/:id/containers` coderd endpoint that allows listing containers
visible to the agent. Optional filtering by labels is supported.
- Adds go tools to the `coder-dylib` CI step so we can generate mocks if needed
Expose a handler and endpoint in the Agent API to list all running devcontainers.
Running devcontainers will be identified using a combination of
docker ps -q
anddocker inspect
commands.If the
docker
binary is not present in the agent's$PATH
or the agent lacks required permissions, log the error and return the error on subsequent requests to the endpoint.Also expose an endpoint in the Coder API to allow directly querying this agent API endpoint, similar to the "listening ports" endpoint.
For now, only support Docker via
docker
CLI.The text was updated successfully, but these errors were encountered: