How To Set Up Local DevOps Environment With Docker using Dev Containers
Ғылым және технология
Let's quickly walk through setting up a DevOps local development environment. A local development step that requires many different CLI tools any DevOps would need for the day-to-day job.
Docker can be used to implement a consistent local setup across teams and the Visual Studio Code extension, the "Dev Containers" makes it a whole lot easier. There are a couple of options for setting up the local environment, but Docker with a VSCode extension to run development environment as a Container instance is the cleanest option.
www.devteds.com/devops-local-...
Source code:
github.com/devteds/devops-loc...
------------------------------------------------------------------------
Related content:
Course: Kubernetes on AWS (Hands-on Get Started Guide):
www.devteds.com/kubernetes-co...
Episode - Multi-Stage Docker Build
• Docker Multi-stage for...
Episode - MySQL and PostgreSQL with Docker in Development
• MySQL & PostgreSQL wit...
------------------------------------------------------------------------
Commands & README:
github.com/devteds/devops-loc...
------------------------------------------------------------------------
Author:
Chandra Shettigar | Devteds, LLC
devteds.com, / shettigarc , / shettigar
------------------------------------------------------------------------
Chapters:
--------------
00:00 Introduction
00:42 Context
01:00 Local Setup Options
01:44 Dev Containers
06:15 Source Code on Docker Host
08:13 Configure CLI & Share Credentials
11:02 Test & Run Terraform
12:56 Summary
Пікірлер: 12
Thank you for explaining this, out of many videos, this one helped it to click.
@ChandraShettigar
3 ай бұрын
Thanks for watching and sharing your thoughts. Glad it helped.
Amazing way of teaching
@ChandraShettigar
7 ай бұрын
Thank you for the kind words 🙂
Thank so much for this video, it helped me understand DevContainers and motivated me to build my own for daily work
@ChandraShettigar
5 ай бұрын
Thanks a bunch for watching and sharing your thoughts! Glad the video helped you with DevContainers. Mind sharing it so other devs can learn too? Appreciate your support!
Can we add MySQL to the Dev container?
@ChandraShettigar
2 ай бұрын
Yes you can add mysql to the devcontainer setup. Cleaner option is to use docker-compose.yml with DevContainer. I am thinking to create a short tutorial on that, in the next couple of weeks. I'm curious about your requirement.
@thetrilbies1
2 ай бұрын
Your video was clear and I was able to follow. We need a dev container environment containing java, node, python and MySQL. We have used docker compose and are familiar with docker but not in a dev container. Thanks
@ChandraShettigar
Ай бұрын
You might want to check this out - kzread.info/dash/bejne/qpqZs5ivdNjPlKQ.html
@LeeConnellAnthony
20 күн бұрын
Can you use this outside of vscode? I.e, in a terminal of your choice?
@ChandraShettigar
19 күн бұрын
@@LeeConnellAnthony Outside of VSCode you can try the DevContainer's CLI - Check this out github.com/devcontainers/cli