written by Eric J. Ma on 2020-05-31 | tags: docker containers software engineering skills
It's been about four days since I first discovered the idea of "development containers", and I'm absolutely hooked.
We know that "containers", such as Docker or Singularity containers, give us operating system-level "virtualization". Or in other words, it gives us completely isolated runtime environments.
Development containers take this idea one step further, and provide us with isolated development environments. This actually can take down the time needed for a newcomer to the project to get up and running with software development. They don't have to configure anything. In VSCode, simply "open a repository in a remote container" (a command palette command), and ensure that they have Docker running locally. Boom! Start developing.
I added dev containers to pyjanitor
, my personal website, my Essays collection, and also started using Dockerhub to prebuild the containers so that a newcomer just has to pull the container and go! This stands in contrast to building the container locally, which is a power drain (if on battery) and can take time.
I plan to do more of this at work, so I can onboard interns and new colleagues onto a project much faster. I also got running remote development containers, i.e. containers that are running on my slightly more powerful remote GPU tower, but the VSCode client is running locally on my puny little 12" MacBook. The future is looking bright! :)
@article{
ericmjl-2020-development-containers,
author = {Eric J. Ma},
title = {VSCode Development Containers},
year = {2020},
month = {05},
day = {31},
howpublished = {\url{https://ericmjl.github.io}},
journal = {Eric J. Ma's Blog},
url = {https://ericmjl.github.io/blog/2020/5/31/development-containers},
}
I send out a newsletter with tips and tools for data scientists. Come check it out at Substack.
If you would like to sponsor the coffee that goes into making my posts, please consider GitHub Sponsors!
Finally, I do free 30-minute GenAI strategy calls for teams that are looking to leverage GenAI for maximum impact. Consider booking a call on Calendly if you're interested!