DEV Community

Burke Holland
Burke Holland

Posted on • Originally published at burkeholland.github.io on

Beginner's series to Dev Containers free video course

"Knowledge isn't free. You have to pay attention."

— Richard Feynman

Ok, but all “play on words” aside, knowledge is free. That’s the key contribution of the internet, isn’t it? That all knowledge is now essentially free? And this is kind of a recent development. It used to cost quite a bit to learn the skills that will make you successful. I mean, there is still a 700 billion dollar industry built on selling you knowledge.

Even better, you can learn what you need instead of things that you might need. It’s been several decades and I have not once used “Slope Intercept Form”. NOT. ONCE. Well, that’s a lie, I had to use it to help my kid with his homework at which point I Googled it. Like an adult.

But this post is not a shot at Algebra (I love you math people - really I do), this is about MORE free knowledge. Specficially, an 8 part video series on how to use “Development Containers”.

If you prefer reading to videos (you do you) you can get this whole series as step-by-step tutorial on Microsoft Learn.

Development Containers

Development Containers (or Dev Containers) are just Docker containers. But we add a little VS Code magic in the form of the Remote - Containers extension that allows you to develop inside of the container right from the editor.

Now why would you do this? Because once you define a container definition for a project, you can check it in to source as a config file. Then any developer could immediately spin up the right dev environment with zero configuration. No Python install. No copy/paste cryptic terminal commands from Stack Overflow.

So how does this work? I’m glad you asked! Or didn’t ask! Either way, queue up episode 1…

Episode 1:

Start your learning with developing in a Docker container in Visual Studio Code. Learn what it means to configure a container-based development environment, why you might want to develop in a container in VS Code, and what lies ahead in the rest of this video series.

Episode 2:

How to install the Remote - Containers extension in Visual Studio Code and see how it works.

Episode 3:

How to add a dev container to your project in Visual Studio Code using the Remote - Containers extension.

Episode 4:

How to run your configured project in a dev container.

Episode 5:

How to forward a port from your container to your host machine so that you can access the app in the browser.

Episode 6:

How to customize your dev container configuration.

Episode 7:

How to install additional software in your Development container.

Episode 8:

Wrap-up and where to go to learn more about Remote Development.

Enjoy your free knowledge

We hope you enjoy this series on Development Containers. You can check out the full playlist on YouTube or Microsoft Developer Studios.

Top comments (2)

Collapse
 
kspeakman profile image
Kasey Speakman • Edited

I had a great experience using dev containers to run a self-contained ClojureScript dev environment. I made a post about it here.

Taking shots at common core math is every citizen's duty.

Collapse
 
shaijut profile image
Shaiju T • Edited

Suppose I don't want install SQL Server in my Local Machine, But instead install it in Dev Containersand access in VS Code. Is it possible ?