Working with Dev Containers by Chris Ayers
ฝัง
- เผยแพร่เมื่อ 20 ก.ย. 2024
- The future of development is in dev containers: reproducible, versioned development environments that run on any machine with a Docker installation (Win/Mac/Linux).
If you want all users of your project to have a consistent, customized environment, dev containers can be added to your repositories.
After this session, you will be able to:
- Understand what dev containers are
- Know how to add and configure dev containers for a project
- Tool Installation
- Extensions
- Port Forwarding
- Installing software
You just took web development to another level. ❤
Docker still has a lot of limitations on Windows and Mac (as it is just running inside a VM on the host: Host -> VM -> Docker). So for example you use a bigger, more complex code which might take some time building all the code. This will take up way more time when running this in a container. On Linux this whole devconainter might work like a charm (due to how docker is working on Linux) but on Mac and Windows this will have downsides for larger projects.
Frankly I'd still prefer to use Nix instead of devcontainer. And in fact, dev container together with Nix would make an awesome pair.
great presentation Chris. Thank you for sharing, this is awesome! 👏
it is slow when I'm running the dev container in the host file system (windows), I have to clone/copy the code directly to the WSL
Why isn't stuff like this being taught with the likes of Ionic and Capacitor on their docs. I wish I knew about this kind of thing ages ago before half of my apps were broken from different versions.
Most people are not aware of these cool tools, they use outdated tools
Amazing! Congrats!!
🤯 Mind blown!
🧪 Will definitely play around with all the gems demoed and share this new found knowledge with all my colleagues.
👍 Really appreciate all the real world,practical use cases covered that I can use to increase my team’s productivity at work.
👏 Great presentation, thanks so much!