Customize Dev Containers in VS Code with Dockerfiles and Docker Compose
HTML-код
- Опубликовано: 15 июл 2024
- 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 Наука
Dev containers are amazing and vs code makes them more easy to work with!
Been wanting to use devcontainers for some time. This was super useful and thorough; thank you!
just got started with Docker and containers.. This is super cool!!! Subscribed..!! Thank you!!
Direto ao ponto!
Obrigado
I look forward to seeing Dev Containers with helm chart setup to run multiple containers in my local env which can potentially replace Tilt.
Very good!
I just had my laptop replaced and decided to dive into this instead of figuring out how to setup ~12 dev environments again.
awesome I can have my multiple projects enviroment safe, beatuful
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.
👍🏻
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
I thought this is a video about living in US Like tips and such but it turned out to be a vlog
Whats the advantage over docker compose? Sharing? Git clone. Or ocker pull within compose..
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?
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?
Can you please make a video on Dev Container with Docker compose for multiple containers for remote vm on gcp
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
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.
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.
whatchoo talkin' 'bout Willis?
@@ScoffMathews no about star craft swarm and legacy
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.