Re:Switching to Claude Code and VSCode Inside Docker
by macrolime on Sunday July 13, 2025 @05:00AM
(#44548704)
I ssh into my server, then use the devcontainer cli tool to open a shell in the dev container. Found that easier than installing ssh in every container, especially when there's lots of them. I made a simple command line tool for helping the process, so I don't have to type out any long commands. If I run it it will list the running dev containers and I give them each a number to I don't have to use the full ID.
[ Parent
| on HN ]
Re:Switching to Claude Code and VSCode Inside Docker
by CGamesPlay on Sunday July 13, 2025 @06:55AM
(#44549347)
Yeah, this works. Two drawbacks: you have to rebuild the container when the port forwarding configuration changes, and the port forwards have to be unique on the entire machine.