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

Attach to VS Code Feature Request #7

Closed
mylesmc123 opened this issue Sep 10, 2024 · 4 comments
Closed

Attach to VS Code Feature Request #7

mylesmc123 opened this issue Sep 10, 2024 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@mylesmc123
Copy link

I was having trouble connecting the Docker Extension to my Podman installation on a remote Linux server while in VS Code locally on a Mac. I came across Pod Manager from this discussion on how to setup Podman to work with the Docker VS Code extension: containers/podman#17306

One of the workflows I use with the Docker VS Code extension is to attach the container to a VS Code instance such that the running container's file system is visible from within the VS Code UI

image

This allows me to easily view files in VS Code with tabs and is really useful for debugging by seeing realtime changes to log files for things like Tomcat and other web servers; as well as easily make changes, save them, and push them to Github with the comfy VS Code UI

Is this a feature that may be available and unknown to me, or potentially in a future Pod Manager release?

@dreamcatcher45
Copy link
Owner

@mylesmc123 I will try to add this to the next update😊

@dreamcatcher45
Copy link
Owner

@mylesmc123 Hi,I tried to implement this feature..But I was not able to find a good way to implement this...I am sry

@dreamcatcher45 dreamcatcher45 added the help wanted Extra attention is needed label Sep 13, 2024
@mylesmc123
Copy link
Author

@dreamcatcher45 No worries at all. I appreciate your software, and you putting the help wanted tag on this.

I believe my issue with using the Vs Code Docker extension with Podman is due to not having installed the podman-docker package along side Podman on the Linux server I'm using.

I don't have root to test this immediately, but perhaps the Podman Manager extension would also benefit from leveraging the Docker CLI as podman-docker allows.

@mylesmc123
Copy link
Author

mylesmc123 commented Sep 13, 2024

Just FYI, In case any one ends up here with issues hooking up VS Code to a podman container. I was able to use the VS Code extension - Dev Containers and change the docker path to podman from the extensions.

image

Then, use the Remote Explorer tab in VS Code to attach the Podman container to VS Code.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants