-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Documentation: setup with VS Code #13589
Comments
@fulldecent thanks for the submission. We are actually in the process of writing that exact kind of thing! your request suggests we are on the right track! assigning to @jwhonce as the author |
Thank you very much. I maintain several "this is how to start programming in X language" tutorial repositories. So if this works out to be smooth, I will really appreciate the opportunity to link to these documents and to containerize all these projects by default. Docker wasn't doing it for me. So podman is the real opportunity here. |
@fulldecent, IDK if it's of use, but we have a video by Chris Short on our YouTube channel demoing how he does it. I know it doesn't take the place of a document, but it might be a stop-gap for you or others finding this issue: https://www.youtube.com/watch?v=FnBzu3X9AMs&t=2s |
Thank you. I have watched the video and it does not appear to have anything to do with podman integration. It seems like he is just using VS Code to SSH into another box. And he is running manual podman commands in the terminal on those boxes. The possibilities for VS Code integration are much greater. You are able to open a repository, not know anything about podman, not have access to other servers, not have Go installed, and then suddenly you are compiling Go programs in a safe container. |
A great use case for Podman + VS code + GitHub will be for GitHub Pages repositories. Here is one example GitHub Pages repository: https://github.com/fulldecent/blog.phor.net GitHub Pages is hosted with Jekyll which can be difficult to install, especially on macOS. Also, this installation has been related some security issues in the past. A simple podman, no-root install would be a blessing for this application and it allows people to run these websites locally without installing any tools other than podman and it will integrate beautifully with VS Code. |
BOUNTY NOTICE: Pacific Medical Training commits a USD 200 bounty to whoever can resolve this issue. Terms:
|
A friendly reminder that this issue had no activity for 30 days. |
Now doubling the bounty to USD 400. Same deadline. |
@fulldecent not interested in the money ... is there a docker version of this document? |
@baude Yes, there is lot's of progress here https://code.visualstudio.com/docs/remote/create-dev-container My goal here is to get a better version of that (I know it's hard to compete with VS Code documentation!) sporting a very practical example (GitHub Pages) and using our favored container manager (Podman). And I know I didn't share this goal above, but after we are done with this issue, then the goal is to replace VS Code's default from Docker to Podman. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@fulldecent @baude What is the state of this? |
nothing from my side |
Hi, I found this in the vscode docs https://code.visualstudio.com/remote/advancedcontainers/docker-options#_podman There is a feature request in the other repo
@fulldecent would this work? Just wanted to know if the goal here is to create a new extension completely? Since the one that is currently working is closed source. P.S Not interested in the money, a new job maybe lol. |
A friendly reminder that this issue had no activity for 30 days. |
Have made some progress here. Updated the top issue and published a repo that works with Docker Desktop and GitHub Codespaces. UPDATE AT #13589 (comment) |
Please open a PR to add this document. |
A friendly reminder that this issue had no activity for 30 days. |
I am requesting please that a complete setup guide for podman with VS Code be added and maintained as part of our official documentation. Just like this but substituting Docker for podman: https://code.visualstudio.com/docs/remote/create-dev-container
Why
VS Code is a major use case, they have excellent support for containers and their support is viral. When you open a git repo configured for containers, VS Code encourages you to set up containers.
By default they recommend Docker and have one-click install. They also support podman but it is not as easy and when something goes wrong people are very likely to give up.
Most people I see considering podman in this scenario are doing so because they do not want to install a daemon or grant root access (running random repositories you download from the internet is dangerous, especially this week when millions of random projects unwittingly include a
rm -rf
in the install process as part of a Russia protest), or don't like Docker Desktop licensing.An official support document is a large opportunity to grow adoption of podman.
How
Part 1—make it work
.devcontainer
for this devops scenario. ✅ DONE, implemented at https://github.com/fulldecent/blog.phor.net/tree/main/.devcontainerPart 2—document it
Follow on work
The text was updated successfully, but these errors were encountered: