Тёмный

Docker Crash Course for Developers | Hands on Examples 

Syntax
Подписаться 364 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@syntaxfm
@syntaxfm 6 месяцев назад
00:13 Docker Desktop Alternatives 00:50 How do we run a redis database locally? 01:39 Simple Example API Setup 02:30 Run an image with the docker CLI 06:21 docker CLI commands 08:50 A simple docker compose example 11:45 More complex example API setup 15:41 docker compose example with postgres 17:48 Persisting data with docker volumes 21:51 The case for custom images and containerization 23:32 Creating a custom image with a Dockerfile 30:02 Ignoring files with .dockerignore 31:03 Examine container files and execute commands with Docker Desktop 32:31 Run migrations and seeds from within the container 33:58 Make code changes without re-building image 34:55 Create a volume for node_modules to prevent internalBinding errors 36:35 Better development workflow with devcontainers 38:03 Optimize docker layer order for faster builds 40:09 Create a multi-stage Dockerfile for dev, build and prod 46:23 Share docker-compose.yml configurations 48:41 Thanks!
@rijavecb
@rijavecb 6 месяцев назад
This new Docker and Self Hosting content is Godsent :chefs kiss:
@irgiahmadmaulana5915
@irgiahmadmaulana5915 3 месяца назад
Really appreciate the content, especially on the multistage build because this is what I searching for thank you CJ
@w3mw
@w3mw 6 месяцев назад
Wow great video! I’m so bad at this, is it possible to run like next js with docker and have a postgressql database offline? So I could work in a plane for example?
@syntaxfm
@syntaxfm 6 месяцев назад
Yes! As long as you've pulled all the images (docker compose up) before you lose internet. -CJ
@fmonel
@fmonel 6 месяцев назад
CJ is definitely one of the best things to happen to syntax 💛
@syntaxfm
@syntaxfm 6 месяцев назад
We 💛 CJ
@IsaiahSmith
@IsaiahSmith 5 месяцев назад
This is quite literally the “how to docker” video I’ve been looking for. Holy crap, so useful! 🎉
@cree_chan
@cree_chan 6 месяцев назад
Let me take a minute and say that the production of these episodes is rocking my socks off! I love how CJ slides in in the beginning. 😆 And of course the content is top notch!
@rockNbrain
@rockNbrain 6 месяцев назад
Great class CJ, I'm very happy you got to join the syntax team ❤
@r-i-ch
@r-i-ch 5 месяцев назад
Thanks CJ, this video is great.
@jjleonard
@jjleonard 6 месяцев назад
This is amazing - I've used docker for years for a lot of simple containers, and only recently started moving all my lengthy docker run commands into docker compose files. I've never touched dockerfiles because they looked too complex but this video taught me in 49 minutes what it would have taken me monthsto learn on my own. Thanks so much! (I now have some work to do to move away from a generic apache container pointing at a static volume to actually copying files in and building a proper app container!)
@chrisliva6841
@chrisliva6841 6 месяцев назад
CJ is CRUSHING it. Thanks for the great content.
@kishanbsh
@kishanbsh 13 дней назад
Excellent way to get rid of node module errors at 34:55 I have done so many crazy stuffs just to get rid of that in the past.. this is much simpler.. Thanks for sharing 😊
@Checker8763
@Checker8763 6 месяцев назад
Topic Suggestion: Reverse-Proxys (e.g Traefik) and "Clusters" (k8s, docker swarm)
@iceship_
@iceship_ 15 дней назад
Great video! Can't wait for the one on Devcontainers!
@kishanbsh
@kishanbsh 13 дней назад
Would be great to have a follow up on this with "handling secrets in docker compose" and "remote machine deployments using docker compose". Thanks in advance!
@kishanbsh
@kishanbsh 13 дней назад
Also named volumes
@Fullflexno
@Fullflexno 6 месяцев назад
So glad to see CJ here!
@juanmacias5922
@juanmacias5922 6 месяцев назад
Wooooooooooooooooooooow, this video is a gold mine, thank you for the self hosted series!
@arnaudpoutieu1331
@arnaudpoutieu1331 6 месяцев назад
CJ is a Great teacher!!! Thanks Man 👍
@dimitrisfilippou
@dimitrisfilippou 6 месяцев назад
Love this content! CJ is killing it 😱
@jagonza2000
@jagonza2000 6 месяцев назад
Another great video from CJ 👏
@lautarodapin
@lautarodapin 6 месяцев назад
we need the video of the dev containers!
@AruljothySundramoorthy
@AruljothySundramoorthy 2 месяца назад
Awesome, Nailed it🔥
@alexandermason4229
@alexandermason4229 6 месяцев назад
Is Docker and Kubernetes the same thing? I am having a hard time wrapping my head around what clusters, k8s, k3s, and k9s all are as well. All the concepts you covered in this video resonate really well, but where does Kubernetes tie in to this whole container thing? Is Kubernetes just AWS specific? If you could answer this in a future office hours, that would be great!
@syntaxfm
@syntaxfm 5 месяцев назад
Kubernetes is an "orchestration system" and allows us to manage and scale containers. It uses docker under the hood. Big applications / deployments typically use Kubernetes to spin up multiple instances of a given container behind a load balancer to scale automatically. -CJ
@fishbone470
@fishbone470 6 месяцев назад
Great vid! Finally, a straight forward use case without the whole container backstory and cli command overview! Cheers!
@ThatRandomDude914
@ThatRandomDude914 5 месяцев назад
You can do npm ci to overwrite
@wiwidwidyanto3203
@wiwidwidyanto3203 4 месяца назад
kepp up the good work CJ
@codeman99-dev
@codeman99-dev 6 месяцев назад
13:04 Bash tip! Use the shell's edit mode! $ export EDITOR="code --wait" Then do ^X ^E to enter edit mode! Now you are entering any command, into your preferred editor with multiline support. Just close the editor to execute :)
@alexdin1565
@alexdin1565 6 месяцев назад
thanks CJ, i subscibed to Syntax only for you please can you make a video on how we can run multiple docker in on server and each docker get his own domain name
@syntaxfm
@syntaxfm 6 месяцев назад
My next video in the self host series will show how to setup reverse proxies which allow you to do just that. Any service running on a port on your server (even through an exposed docker port) can be routed traffic via a domain / subdomain. Caddy makes this really easy and will also set up SSL certificates for you - caddyserver.com/ (I'll be using this in my next video) nginx, Apache and Traefik are other popular options. -CJ
@alexdin1565
@alexdin1565 6 месяцев назад
thanks waiting @@syntaxfm 🔥🔥🔥🔥🔥
@ManpreetSingh-eb5kk
@ManpreetSingh-eb5kk 3 месяца назад
He is a blessing ♥
@samiullahsheikh5015
@samiullahsheikh5015 6 месяцев назад
Super amazing.... Please do make video on dev containers and also on docker to deploy on production
@dustatron
@dustatron 4 месяца назад
You’re awesome
@pranjalagnihotri6072
@pranjalagnihotri6072 6 месяцев назад
This is the goto video to learn Docker and get started building with it today. Sharing it with my mates/juniors
@mj2068
@mj2068 5 месяцев назад
cj is the best
@SimPwear84
@SimPwear84 6 месяцев назад
CJ just set the bar high with this one. This should be used as a blueprint for making courses
@DavidSoards
@DavidSoards 6 месяцев назад
this video has been super helpful for me, but i noticed the way you structured your Dockerfile, the node_modules end up in the final prod image. i believe you want to move copying package*.json and npm install under AS dev.
@syntaxfm
@syntaxfm 6 месяцев назад
Thanks for watching and thanks for commenting! node_modules actually need to be in the production image as well, otherwise, imports for 3rd party libraries would fail when trying to run the app. -CJ
@DavidSoards
@DavidSoards 5 месяцев назад
@@syntaxfm ah ok, makes sense. my current use case is for a static app, so i don't want node_modules in final image. my bad!
@cg219
@cg219 6 месяцев назад
These are great!!!
@KyleRosebk
@KyleRosebk 6 месяцев назад
this is good. took me a long time to figure this out on my own, so should be helpful to people that haven't gotten that far yet
@AleksandarT10
@AleksandarT10 6 месяцев назад
Great Video CJ. Keep up the new and awesome content coming!
@ivofs
@ivofs 6 месяцев назад
Loved the video and definetely waiting for one about devcontainers
@ArionKosturi
@ArionKosturi 6 месяцев назад
Wow. This is the best video about docker ever. Bookmarked it.
@mrlectus
@mrlectus 6 месяцев назад
This is the video i would link to anyone who wants to learn Docker
@coffeeintocode
@coffeeintocode 6 месяцев назад
This is a really good overview of docker 🎉
@eduardokiriakos6255
@eduardokiriakos6255 6 месяцев назад
👏👏
@mahmoudafarag
@mahmoudafarag 5 месяцев назад
Please keep CJ in our lives
@amjadyahia7925
@amjadyahia7925 Месяц назад
Amazing amazing ❤ It's like the watching chatgpt on RU-vid Straight to the point 👌
@DRTYDR3Y
@DRTYDR3Y 6 месяцев назад
Quality Content my guy! ⌨️This is our world now. The world of the electron and the switch.💾 Keep bringing the heat.🔥 Absolutely loving these videos. Syntax hit the nail on the head when they picked you up!
Далее
You Should Use Maps and Sets in JS
14:28
Просмотров 10 тыс.
Using docker in unusual ways
12:58
Просмотров 450 тыс.
Ответы Мэил Ру
01:00
Просмотров 733 тыс.
The intro to Docker I wish I had when I started
18:27
Просмотров 117 тыс.
100+ Docker Concepts you Need to Know
8:28
Просмотров 978 тыс.
Ultimate Docker Compose Tutorial
1:03:14
Просмотров 183 тыс.
Learning Docker // Build Container Images
23:02
Просмотров 33 тыс.
Coolify Crash Course | Self Host 101 | Secure Set up
1:29:06
DHH discusses SQLite (and Stoicism)
54:00
Просмотров 76 тыс.
Set up a Mac in 2024 for Power Users and Developers
1:00:34
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1,1 млн