Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to get the info on running containers #843

Open
Qwarctick opened this issue Jun 10, 2024 · 2 comments
Open

Add option to get the info on running containers #843

Qwarctick opened this issue Jun 10, 2024 · 2 comments
Labels
feature-request New feature or request

Comments

@Qwarctick
Copy link

Hello,

Could an option be added to obtain information on containers? A bit like docker inspect?
In fact, it's something that could be “simple” to add, but it's necessary to have the real name of running containers.

This would simplify the development of third-party tools or make it easier to integrate devcontainers with other IDEs.

@samruddhikhandale samruddhikhandale added the feature-request New feature or request label Jun 18, 2024
@samruddhikhandale
Copy link
Member

Dev containers internally uses Docker, hence, you can still use the docker inspect command to find information on the containers.

In fact, it's something that could be “simple” to add, but it's necessary to have the real name of running containers.

Curious, won't the docker ps command help you with it?

@Qwarctick
Copy link
Author

Curious, won't the docker ps command help you with it?

It is, but If I have multiple containers running on my system (which is the case for most pleople), I have to "manually" search for the one I want. As the cli can execute command in the devcontainer, I suppose it van return the name of the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants