Customize Dev Containers in VS Code with Dockerfiles and Docker Compose

  Рет қаралды 29,454

Visual Studio Code

Visual Studio Code

Күн бұрын

Dev containers provide a consistent and reproducible development environment and work by running a Docker container. Follow along with the demo to customize your dev containers by using a Dockerfile, Docker compose, and even a combination of both! ⚡️💻
Resources:
Using Images, Dockerfiles, and Docker Compose guide: aka.ms/dev-container-docker
Dev Container Specification: containers.dev
Image or Dockerfile specific properties: aka.ms/containers_image-specific
Docker Compose specific properties: aka.ms/containers_compose-spe...
0:00 Intro
0:49 Dockerfile demo
2:47 Docker Compose demo
4:46 Docker Compose + Dockerfile demo
5:45 Summary

Пікірлер: 23
@codernerd7076
@codernerd7076 6 ай бұрын
Dev containers are amazing and vs code makes them more easy to work with!
@David-oc8yt
@David-oc8yt 6 ай бұрын
Been wanting to use devcontainers for some time. This was super useful and thorough; thank you!
@synthmania7275
@synthmania7275 5 ай бұрын
just got started with Docker and containers.. This is super cool!!! Subscribed..!! Thank you!!
@aureliocampos5845
@aureliocampos5845 5 ай бұрын
Direto ao ponto! Obrigado
@hirobnet
@hirobnet 5 ай бұрын
I look forward to seeing Dev Containers with helm chart setup to run multiple containers in my local env which can potentially replace Tilt.
@rafosoalc
@rafosoalc 3 ай бұрын
Very good!
@ScoffMathews
@ScoffMathews 6 ай бұрын
I just had my laptop replaced and decided to dive into this instead of figuring out how to setup ~12 dev environments again.
@AnderZvyEvalApply
@AnderZvyEvalApply Ай бұрын
awesome I can have my multiple projects enviroment safe, beatuful
@KennTollens
@KennTollens 6 ай бұрын
Pro tip (Well, I'm a beginner and had to stop two annoying things. Maybe you have the same issue.) // Gets rid of the mouse over popups like the MDN ones. Setting and search Hover, then uncheck the boxes // Copies just the highlighted section instead of the entire line. Setting and search empty selection clipboard, and uncheck the box
@serhioromano
@serhioromano 6 ай бұрын
Please create a video to explain where it mounts my working folders by default and how to change it with all those methods you've mentioned in this video.
@alessioruggi9676
@alessioruggi9676 22 күн бұрын
Super useful video! I have a question, so using devcontainers is just a way to avoid using Dockerfile and Docker-Compose, or just a faster way to have an image if you don't need to do any customization?
@mohamedhaneef6379
@mohamedhaneef6379 6 ай бұрын
👍🏻
@ibrahim-tech
@ibrahim-tech 5 ай бұрын
I thought this is a video about living in US Like tips and such but it turned out to be a vlog
@yomajo
@yomajo 6 ай бұрын
Whats the advantage over docker compose? Sharing? Git clone. Or ocker pull within compose..
@user-ny2lt3pc1x
@user-ny2lt3pc1x 5 ай бұрын
Can you please make a video on Dev Container with Docker compose for multiple containers for remote vm on gcp
@michaelpacheco7421
@michaelpacheco7421 5 ай бұрын
When I followed the steps to setup devcontainer with dockerfile and compose, all my files inside the container are under root user. How can I chwon them to my host user?
@josersleal
@josersleal 4 ай бұрын
q: how to run a plugin like ollama or other ai code complection from inside a dev container? ideally without having to install the ollama + llm inside the container
@thetrilbies1
@thetrilbies1 3 ай бұрын
Would you have a github repo for this demo. I tried to follow your video and could not see the entire path for the workspaceFolder name ${localWorkspaceFolderBasename. ? ? Thanks.
@Netryon
@Netryon 6 ай бұрын
I'm just fine setting up apache 2 and php.ini. I may not know everything about it, or some security vulnerabilities. So let some not well known docx keywords be your roadblock just because you want to me some secret stealth assassin Priest Rogue Mage accompanied by a death knight. It's already too much setting up those .ENV files and .json files. Postgres ... enough of this, you wished to create a game so please do that. Why it's does not have that UI? WHY? Why i have to memorize all the strings? Why it is not Virtualbox or Vmware with an intuitive UI? I like wish Laravel/Angular they tell me do it with Symfony/React and then have a freedom to say it's not an employee we tried to find.
@ScoffMathews
@ScoffMathews 6 ай бұрын
whatchoo talkin' 'bout Willis?
@Netryon
@Netryon 6 ай бұрын
@@ScoffMathews no about star craft swarm and legacy
@Netryon
@Netryon 6 ай бұрын
Oh no I'm not editing it with gimp, I'm buying Adobe license I hear they can do incredible things with it at presidential election which is about now. I don't like your containers, they take too much space and are build by anybody or it's message - Desired container couldn't be found with all the prerequisites - let's begin with running Apache, Mysql and php because I just can debug with php builtin command. Yaml is another well know tool. I don't refuse, but you don't give me a chance.
Working with Multiple Dev Containers in VS Code
9:46
Visual Studio Code
Рет қаралды 29 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 429 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 19 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 44 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 27 МЛН
Speed Up Your Dev Container Workflow with Prebuilds
6:53
Visual Studio Code
Рет қаралды 10 М.
SSH into Remote VM with VS Code | Tunneling into any cloud | GCP Demo
10:26
How I deploy serverless containers for free
6:33
Beyond Fireship
Рет қаралды 474 М.
My Favorite Way To Handle Dev Environments | VS Code Devcontainers
30:05
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 392 М.
Manage Docker and Kubernetes in VSCode
21:54
Christian Lempa
Рет қаралды 27 М.
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 895 М.
12 VS Code Extensions to INCREASE Productivity 2024
27:13
Devression
Рет қаралды 621 М.
Better Than Smart Phones☠️🤯 | #trollface
0:11
Not Sanu Moments
Рет қаралды 19 МЛН
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1,1 МЛН