[HN Gopher] VS Code Dev Containers: A repository of development ...
___________________________________________________________________
VS Code Dev Containers: A repository of development container
definitions
Author : thunderbong
Score : 25 points
Date : 2022-08-28 15:07 UTC (7 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| chris1993 wrote:
| VSCode dev containers seem to have a lot of potential but I've
| found the documentation and official examples severely lacking if
| you want to do anything beyond simply booting a container. There
| are nice features like the way a devcontainer will symlink the
| contents of your 'dotfiles' repository into place as .bashrc,
| .git, etc, but I couldn't find this behaviour detailed and found
| it by accident having spent too long trying to work out exactly
| how to achieve this functionality. It's also not well-described
| but on a windows host with linux container it seems the best
| setup for disk performance is to have the project with
| .devcontainer located in a WSL2 vm and launch the devcontainer
| from within WSL2. Also, good luck if you don't want to use Ubuntu
| as MS seems entirely oriented around Ubuntu as the preferred
| container platform and all examples and useful scripts which
| launch ssd, etc, assume Ubuntu.
___________________________________________________________________
(page generated 2022-08-28 23:01 UTC)