Simplify All the Things with Docker Compose

  Рет қаралды 34,125

Docker

Docker

Күн бұрын

Пікірлер: 31
@viseshprasad
@viseshprasad 4 жыл бұрын
a college class on containers? Hell yeah! Excellent talk. Thanks!
@ginxo
@ginxo 4 жыл бұрын
Congrats @Michael! Very easy to follow! I didn't know about stages and how useful they can be. I also liked the configuration about proxy & app. Thanks man!!!
@mikesir87
@mikesir87 4 жыл бұрын
You're quite welcome! I'm glad you found it useful!
@teeodoubled3000
@teeodoubled3000 4 жыл бұрын
Great talk! I'm newer to docker and understand the concept of mapping a local directory to a directory in the image so you use your local files to do development... In your docker compose file you have the named volume "nodemodules" that's mapped to the /node_modules directory in the image. What is that doing within your dev environment if it's not linked to the /node_modules in your local directory?
@mikesir87
@mikesir87 4 жыл бұрын
I know it's been a while, but this was a commonly used technique to help speed things up. The node_modules has a ton of files in it, so suffered from filesystem speed issues. By using a module to store the files, it kept all of the files in the Docker vm, skipping the sync and making things faster. The downside (which is fairly major) is that the files aren't synced back into the host, so IDEs can't intelligently help you with auto-imports, etc. But, with recent updates to the file syncing in Docker Desktop, I definitely wouldn't do this anymore. Great question and observation!
@teeodoubled3000
@teeodoubled3000 4 жыл бұрын
@@mikesir87 Thank you for taking the time to explain!
@brianalmaguer1525
@brianalmaguer1525 3 жыл бұрын
Love it. One of the best structured intermediate level talks I have ever seen. This definitely scratched my information itch.
@dimitrisproios1860
@dimitrisproios1860 3 жыл бұрын
any recommendayions for advanced talks?
@iabierta
@iabierta 4 жыл бұрын
Thanks indeed, found your speech quite clear and illustrative
@pingyang8963
@pingyang8963 4 жыл бұрын
Will you share the github for this presentation?
@mikesir87
@mikesir87 4 жыл бұрын
Absolutely! Here ya go: github.com/mikesir87/dockercon-2020-compose-talk
@pingyang8963
@pingyang8963 4 жыл бұрын
@@mikesir87 Thank you very much. I have issue on running this 'docker-compose -f docker-compose-test.yml -p tests up --exit-code-from tests', it prompted me to log in the docker hub, I did input my username and password, I still got the error "pull access denied for dc2020, repository does not exist or may require 'docker login': denied: requested access to the resource is denied", how to fix this?
@mikesir87
@mikesir87 4 жыл бұрын
@@pingyang8963 Ah! The images were only locally built and aren't on Docker Hub. If you run "docker build -t dc2020 ." to build the app image and then a "docker build -t dc2020-tests -f Dockerfile-e2e ." to build the test image, it should then work. I probably should have mentioned that somewhere. Sorry about that!
@rayusaki88
@rayusaki88 4 жыл бұрын
Thanks Mike! Very helpful.
@MelissaKippPlusHomeschool
@MelissaKippPlusHomeschool 4 жыл бұрын
Thank you for all the resources!!! super helpful
@mikesir87
@mikesir87 4 жыл бұрын
Thanks for the comment and for tuning in! :)
@daviddonadze221
@daviddonadze221 3 жыл бұрын
Thanks man. Million thanks
@Strannik20111
@Strannik20111 4 жыл бұрын
Awesome talk
@pratik_chuckles
@pratik_chuckles 3 жыл бұрын
super insightful!
@manuelgonzalotoribioruizal1416
@manuelgonzalotoribioruizal1416 2 жыл бұрын
Thank you Michael It was clear and easy to understand everything you talked about. But I taste a feel that there are deep things to learnn that you only mention in the video. Perhaps ask you from your time prepare a video with those things. Thank you a lot
@georgestatefield
@georgestatefield 3 жыл бұрын
Thank you for tutorial!
@keerthikaj
@keerthikaj 3 жыл бұрын
Great talk with good demo.. Thanks a lot.
@iranicus
@iranicus 2 жыл бұрын
Moving the project I work on at work towards becoming dockerised, at the moment the devs and testers just run the code in the terminal using maven (Spring Boot 2 Java 11 app). There's about 6 services that need starting in a particular order so multiple commands required per service. Created the Dockerfiles for each of them already and now a single docker compose yaml to run them all in one command. Way easier and quicker to get them setup now, just need to get it approved by the tech lead 👌. I was wondering though, should the docker compose file have its own git repo?
@inspirehub1.0
@inspirehub1.0 8 ай бұрын
wow!! can i get the source code for this architecture just wanna try it out
@fawadullahkhan
@fawadullahkhan 2 жыл бұрын
Amazing tutorial. thanks for the effort
@volkruss
@volkruss 3 жыл бұрын
-1 for white theme on VS Code though (just kidding). Thanks a lot for this presentation.
@mikesir87
@mikesir87 3 жыл бұрын
Haha! I don't normally use a white theme, but white backgrounds tend to be easier to see in recordings/presentations. 😉
@heavysavage5931
@heavysavage5931 Жыл бұрын
Thaats briliant. Thanks!!
@Salahudin-
@Salahudin- 2 жыл бұрын
So.. was it a boy or a girl?
@thecosmicantinatalist
@thecosmicantinatalist 3 жыл бұрын
What the hell! 5 kids? Use some contraception dear.
@kirdiekirdie
@kirdiekirdie 3 жыл бұрын
Great video but a bit too much personal information at the beginning, I think most of the audience just wants to hear about the topic and not you marital status and so on.
Using Docker & Compose to Simplify Integration Testing
29:32
Best Practices for Compose-managed Python Apps
29:20
Docker
Рет қаралды 6 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Docker-compose tutorial
19:45
Christian Lempa
Рет қаралды 69 М.
Learn Docker in 7 Easy Steps - Full Beginner's Tutorial
11:02
Fireship
Рет қаралды 2,1 МЛН
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,8 МЛН
Docker Tutorial for Beginners
56:04
Programming with Mosh
Рет қаралды 2,7 МЛН
Docker Compose Tutorial - Docker in Practice || Docker Tutorial 9
13:01
TechWorld with Nana
Рет қаралды 195 М.
How to Get Started with Docker
27:30
Docker
Рет қаралды 394 М.
Building a Docker Image Pipeline Using GitHub Actions
22:28
Docker For Beginners: From Docker Desktop to Deployment
59:30
Travis Media
Рет қаралды 739 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН