Тёмный

Trying Docker for the First Time 📖 Many Learnings! 

DevTips
Подписаться 351 тыс.
Просмотров 44 тыс.
50% 1

Sponsored by: Brilliant, thanks! Be one of the first 200 people to sign up with this link and get 20% off your annual subscription with Brilliant.org!
brilliant.org/...
How to get started with Docker for the first time. What is an image? What is a container? How does Docker work? Why should I use it?
ALL THAT STUFFS in this video on the basics of Docker where we get up and running and explain the most important parts of using Docker!
Having seen this video - you will understand what Docker is.
Docker Hub and stuff
🏗 www.docker.com...
The editor is called Visual Studio Code and is free. Look for the Live Share extension to share your environment with friends.
💻 code.visualstu...
DevTips is a weekly show for YOU who want to be inspired 👍 and learn 🖖 about programming. Hosted by David and MPJ - two notorious bug generators 💖 and teachers 🤗. Exploring code together and learning programming along the way - yay!
DevTips has a sister channel called Fun Fun Function, check it out!
❤️ / funfunfunction
#docker #containers #images

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

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 162   
@theonethatprotectsyoufromt9271
Great video, thanks! I'd love to see docker-compose tutorial as a follow-up video.
@mfilipe77
@mfilipe77 5 лет назад
As for the internet comment comparing the Internet speeds to Europe, Yes I agree. I am Portuguese and live in NY just about 30 minutes out of NYC and I agree with you. I feel as the large companies are created here but Europe is so much more advanced in everything I witnessed. I was in little Portugal this summer into Autumn for 7 weeks and boy I felt the difference in everything, I felt as I returned to the past! Talking about back to the Future, when I was in Europe haha. Hope you had a good time in NY.
@webgeek2021
@webgeek2021 5 лет назад
I work in a company and sometimes I hear this word "docker" but never understood. Today got a clear idea about how Docker works and will be excited to use in my future projects. Thanks, DevTips, A Big thumbs up!
@GifCoDigital
@GifCoDigital 5 лет назад
I shit you not as I woke up this morning I saw another article on Docker and decided today was the day to learn it. Was stoked af to see this pop up minutes later!!!
@anythingforweb
@anythingforweb 5 лет назад
Very nice video! I'd like to see this how you'll work in development (webpack, express, nodemon, hot reload) and deployed this to a proper server (online, minified, gzip, etc) but maybe it will take a lot more time.
@fvgoya
@fvgoya 5 лет назад
Same here!!!
@travholt
@travholt 5 лет назад
I second this! How does one do local development with Docker (and git) and then deploy to a (running) live server? How do you deal with local test database but then deploy to live server with production database? Etc.
@voigtan
@voigtan 5 лет назад
I'm doing this what I think is a very local development environment with the help with docker, mostly node stuff with debugging and nodemon restart on local file changes
@arturhavrylov
@arturhavrylov 5 лет назад
Very good type of video tutorial! When one teaches and another guy is trying to understand how it works!s
@stsbmu7169
@stsbmu7169 5 лет назад
Very helping and not boring funny video. Thanks a lot!
@qwarlockz8017
@qwarlockz8017 5 лет назад
Thanks guys. This was REALLY good. I have gone through docker and played with it but watching you guys hack through it was really useful. It really helped a lot. You guys ROCK as always!
@setsuna8117
@setsuna8117 5 лет назад
Love this, same process that i go through. some frustrating moments but it's fun doing new stuffs like this. And as an IT, you'll be doing a lot of new stuffs in the course of your career as innovation never stops.
@jacksonlenhartmusic
@jacksonlenhartmusic 5 лет назад
More episodes on Docker please! I am not familiar with it so I am unsure what a good next step would be, but I'm fairly certain I would enjoy a video about it!
@chmoxster
@chmoxster 5 лет назад
Thank you ! quick tip on mac you may press ctrl+l to clear your terminal :)
@alexjin5232
@alexjin5232 5 лет назад
Haha I love this video format for rough learning on new tools. Definitely ‘got’ Docker for the first time. Also watching two devs go through the inevitable head scratching and frustration together was weirdly satisfying 😂
@sitaruandrei7436
@sitaruandrei7436 5 лет назад
Fastify is the new cool NodeJS framework that you could use instead express.
@jibinkoshy2739
@jibinkoshy2739 5 лет назад
Superb video. Please include more tutorials on Docker.
@ulissemini5492
@ulissemini5492 5 лет назад
11:18 man yeah its so hard to install stuff! *casually runs sudo apt install docker* *it works*
@_DeProgrammer
@_DeProgrammer 5 лет назад
You wanted a cool new thing? you should try server-side swift. Kitura is very nice.
@Yoieh
@Yoieh 5 лет назад
I have been using docker containers for about 3 years now and I love them. But the thing I never could wrap my head around was that everybody was always talking about how good docker was to scale your applications "side ways" when build "micro services". I was thinking clustering with containers? You could have a cluster of 100 node containers running the same node application and later add 100 more and so on. But you would still need some sort of manager/load balancer to route traffic to each container? Would you put up a routing container to still be able to call it a micro service? What I'm trying to say is that I was never able to wrap my head around how to scale sideways and networking with containers without a basic structure with just one container for each service such as just "webapp->api->database"
@andersryanc
@andersryanc 5 лет назад
Checkout Kubernetes
@Yoieh
@Yoieh 5 лет назад
@@andersryanc then its not realy the docker containers that is awsome. You still need to configure a bigger system to be able to scale an aplication properly an you are tied to yet an other system and you added one more layer of software to your aplication.
@micoberss5579
@micoberss5579 5 лет назад
Try FASTIFY, a nodeJS backend framework. There was a presentation of it on NordicJS
@karianpour
@karianpour 5 лет назад
Another benefit of Docker having on local machine is that you can easily stop the services or get rid of them when ever we want.
@suckerr70
@suckerr70 5 лет назад
Very sweet vid! I'd like to see this woking with mutilpe services talking to each other! Keep it up guys
@nhulongctk10
@nhulongctk10 5 лет назад
haha. very very useful. dmg stands for damage.
@shoaibanwar1
@shoaibanwar1 5 лет назад
Thank you so much for this awesome video. I am facing an issue though, everything works fine but when I connect to vpn the docker is unable to access the directory(having code) on my windows.
@yavorstoychev4056
@yavorstoychev4056 5 лет назад
@MPJ, about a "cool new thing", I know that you don't like OO and TS, but check nestjs out. It's actually express, but is kinda like angular. It's a good enterprise solution for JavaScirpt servers
@MichaelRyanCaputo
@MichaelRyanCaputo 5 лет назад
Cool new thing (old thing): hapi.js (alternative to Express)
@RobertBMenke
@RobertBMenke 5 лет назад
nest.js is a cool framework if you're interested in checking it out. Used it on a work project recently and enjoyed it.
@lucasteles42
@lucasteles42 5 лет назад
Nice video! But Docker for self, is not a VM, It runs an application layer on a shared linux kernel, the cost of run an image is the same of a simple process... when you are running in Linux... Because of that, when you run docker on Mac or Windows you need a VM with a minimum Linux Kernel
@TaaviJuursalu
@TaaviJuursalu 5 лет назад
Check out hapi.js instead of express
@harmeetsingh6308
@harmeetsingh6308 5 лет назад
superb vid once again. how about video on AMP?
@OfficialDevTips
@OfficialDevTips 5 лет назад
That would be awesome. AMP is pretty powerful nowadays. And also discussion on the drawbacks of giving away your content etc.
@harmeetsingh6308
@harmeetsingh6308 5 лет назад
I didn't know about that. Will Google make it one of key (or mandatory) protocol for improving ranking?
@babylove7566
@babylove7566 5 лет назад
What about hot reloading while development?
@OfficialDevTips
@OfficialDevTips 5 лет назад
It's not really relevant here. When developing, you would run the web environment normally and use docker for all the dependent services, such as databases, graphql servers etc.
@norboost
@norboost 5 лет назад
I think that someone should look into alpine images ^^
@adityathakur4727
@adityathakur4727 5 лет назад
😀
@elyob
@elyob 5 лет назад
What GUI were you using here?
@OfficialDevTips
@OfficialDevTips 5 лет назад
What you see is Visual Studio Code and Kitematic mostly.
@webnostix5256
@webnostix5256 5 лет назад
What about using X11 forwarding from docker containers to run gui apps inside/outside/servedby them - would that be possible?
@jwkranenburg
@jwkranenburg 5 лет назад
Docker is mostly used for (web) services. Not software applications, unless they use a web service. So it doesn't really give you a GUI as such, because it runs a service. The HTML output you see from a web application is viewable through a browser, but it doesn't run the browser in the container itself. So a similar comparison could be made with software applications. For that you would need a Virtual Machine.
@flat9safety
@flat9safety 5 лет назад
Ok. This is great. This is the closest I have gotten to understanding how/why to use docker. But I am left with two questions: 1. How do you deal with kernal-level updates? So like... Say a docker image is for 16.04, but you are running docker on 18.04... How do I make sure that that 16.04 image is updated/secure? Or since it's in a container, is it only necc to keep the 18.04 image updated? Which leads me to two.. 2. Is the point of a docker image to 'set it and forget it' ... so like... you don't ssh into a docker image and do stuff like you would a normal VM. I use virtual box/vagrant for development on my windows host, but it seems like for dev, this is the better option (since I can log in, do system stuff, etc...) is this correct? I can't figure out where the line is between dev/prod docker/vms...
@OfficialDevTips
@OfficialDevTips 5 лет назад
1. I'm not quite sure what you mean, if a docker image us based on 16.04, it runs 16.04 in the virtual environment. Docker is an environment for virtual linux environments, it doesn't have a single version of linux that it runs. As for keeping updated, you update the Dockerfiles for your services and re-deploy. You don't keep it auto-updating or stuff like that because then if it updates and things break, you have no idea what happened or what state the instance is in, which is the point of docker. There are generally various handy tags provided by the vendors - you can see the tags for Ubuntu here: hub.docker.com/_/ubuntu 2. You can set up SSH so that you can jump in an inspect a Docker instance, which might be handy, but you don't make changes to the instance - if you want to alter the state of the instance, you change the dockerfile and redeploy so that everyone using the image can be sure that what the hell is going on. It's the same principle of how you don't jump jump into a production service and change the script files there, because nobody would know the discrepancies between what was on the server and what was in version control.
@makhdv
@makhdv 5 лет назад
1. Due to similar to lxc concept. Docker inherits Linux kernel of host machine. So you may need to update host machine with docker. And docker is known to have sec issues, even without privileged mode, which can be fully mitigated. In prod u may have hundreds of virtual machines and thousands of containers. Deployment sw help to orchestrate the zoo with good design in zero down time. 2. You are free to update container in dev. There is important part - volumes. Which allow you to start/stop container keeping the data (internal volumes). And may allow you to destroy container and start new (explicit volumes). In dev, when I work with non-compile languages I mount sources directly into container. And changing source code have immediate feedback on GUI. Without need to setup dirty environment.
@nathsimpson
@nathsimpson 5 лет назад
“The US has the worst internet” You should come to Australia 🇦🇺
@jonathanbakebwa2292
@jonathanbakebwa2292 5 лет назад
dmg is disk image
@benfurstenwerth
@benfurstenwerth 5 лет назад
Being adverse to tooling, you should use touch instead of creating the Dockerfile in your editor. :) Too much gooey
@lingeshvirinmoonsamy8692
@lingeshvirinmoonsamy8692 5 лет назад
Tony Stark uses Docker?
@sansdomicileconnu
@sansdomicileconnu 5 лет назад
a draw worth 1000 talk
@ayecab
@ayecab 5 лет назад
Internet in the US is shit. :-/
@tenminutetokyo2643
@tenminutetokyo2643 5 лет назад
This crap has just gotten completely out of hand.
@niclaskron3384
@niclaskron3384 5 лет назад
I would like to interject a bit at 10:35 you say Docker is a virtualized environment. But Docker is not virtualization. Its a process isolation tool built ontop of the linux kernel cgroups (lxc) which is also why there is this concept of 1 process per container idea.
@OfficialDevTips
@OfficialDevTips 5 лет назад
You are probably right. We use that as a way of thinking about it to explain the concept to a beginner. Though that might not be the best way of explaining to a beginner anyways...
@GifCoDigital
@GifCoDigital 5 лет назад
there are many different types of virtualization and the literal definition is: "In computing, virtualization refers to the act of creating a virtual (rather than actual) version of something, including virtual computer hardware platforms, storage devices, and computer network resources." So yes Docker is a virtualized env.
@arihunta
@arihunta 5 лет назад
This is the big difficulty that I have in understanding Docker. If you're running a Linux distribution on a Windows machine, how is it different form running a VM? It has its own file system, its own ports? Or is it more something like how Cygwin works? What is "process isolation"?
@arihunta
@arihunta 5 лет назад
Thanks *so* much for the detailed reply! I don't know how I missed that SO question in my Googling, but that helps a lot! I'll definitely read further.
@krish224488
@krish224488 4 года назад
Good point. If you are interested here is a deeply technical explanation of what docker is and how are they different for Virtual Machines.. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0Xb421-9CTo.html
@freecodecamp
@freecodecamp 5 лет назад
It's alway helpful to dock my eyes to your videos.
@nicholasarthur5525
@nicholasarthur5525 3 года назад
you all probably dont care but does someone know of a trick to get back into an instagram account..? I stupidly lost my password. I love any tips you can give me.
@angelokaiden7196
@angelokaiden7196 3 года назад
@Nicholas Arthur Instablaster :)
@nicholasarthur5525
@nicholasarthur5525 3 года назад
@Angelo Kaiden I really appreciate your reply. I got to the site through google and I'm in the hacking process now. Takes a while so I will get back to you later with my results.
@nicholasarthur5525
@nicholasarthur5525 3 года назад
@Angelo Kaiden it worked and I actually got access to my account again. I am so happy! Thank you so much you saved my account!
@angelokaiden7196
@angelokaiden7196 3 года назад
@Nicholas Arthur you are welcome =)
@gustoxt1193
@gustoxt1193 5 лет назад
GraphQL seems to be the next coolest thing. It'd be great to see a video on it!
@OfficialDevTips
@OfficialDevTips 5 лет назад
Cool! Check out this video on Fun Fun Function! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-lAJWHHUz8_8.html
@marcustulliuscicero9512
@marcustulliuscicero9512 5 лет назад
check out andrew mead's course
@thmater-x9786
@thmater-x9786 5 лет назад
Docker + DataBase in next the next Video , and thank you for this great explanation and great video
@JonatanKapps89
@JonatanKapps89 5 лет назад
This is the best developers channel on youtube, since Travis age! lol Please make a video about express! I have a development course in Brasil, and I always recommend your videos to my students!
@JustisZley
@JustisZley 5 лет назад
But how to go about that thing when you click the link which leads you to one port, when locally this all represented on another?
@GiovanniRavalico
@GiovanniRavalico 5 лет назад
I'd love to see Koa!
@richardtenney3417
@richardtenney3417 5 лет назад
Wow...high speed. Will watch again. Two thoughts: 1) would like to use docker to bundle up an IoT project that makes use of Node-RED, so if you're casting about for something to use as an example, I'm suggesting Node-RED. 2) From what I've read, Docker doesn't run on current Windows machines that have VirtualBox -- something about a Hyper-V conflict. Any thoughts you might have about this (including "no, you've got that wrong; it does work") would be appreciated.
@jonathancunanan2490
@jonathancunanan2490 5 лет назад
Nice Video! It's a good intro to docker with a mix of live coding. Live coding makes it suspense (to fail) and exciting =))
@kostadinnm
@kostadinnm 5 лет назад
Asking for a middleware to try - go for hapi and it's related authentication/authorization protocols(github.com/hueniverse/hawk and github.com/hueniverse/oz). That won't shine, but since ssl is going nowhere, we'll all benefit. It's not a pure "programmery" thing, but so isn't docker. If you decide to go that way, I guess you'll have to get creative and device something user/groups-related. Another interesting thing that I'm currently playing and is in the field of docker, cqrs and event sourcing - www.wolkenkit.io/. This stuff is wonderful as it removes a lot of the burden of setting up a dev-environment. Intro video: pt1: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-B5uoLWZv0AA.html pt2: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yAnzic2yGaQ.html and some blog posts: docs.wolkenkit.io/latest/media/online-resources/blog-posts/#english
@ljuglampa
@ljuglampa 5 лет назад
I love the frustration of things just taking a lot of time to get running. That's development and is just something you have to deal with. It's a pain tho :P
@wahibakamoulcode
@wahibakamoulcode 5 лет назад
I really enjoy the show I will so glad if u make another video with a real server, not in the localhost thanks.
@pascovicidinmoscova
@pascovicidinmoscova 5 лет назад
I for 1 would watch a practical use case From this vid: IDKMaybe this helps someone, this is how I write things down _DOCKERFILE[BUNDLE_INSTRUCTIONS, COMPILES_CODE] _CLI[DOCKER_BUILD]=>DOCKER_ENGINE=>DOCKER_IMAGE=> _CLI[DOCKER_RUN]=>DOCKER_CONTAINER _EACH[DOCKER_CONTAINER]=HAS _OS _IMAGES---PROGRAM_LANG/DB/ETC. _CODE _DEPENDENCIES
@creativemember
@creativemember 3 года назад
It's kinda funny to see that you had exactly the same problems with understanding Docker as I had when I first heard of it, e.g. not fully getting what is the difference between image and container, calling Docker a virtual machine (which is not true, but makes it easier to grasp the main idea). I guess that the Docker can be really confusing at the beginning and it's somehow comforting that others had similar doubts.
@DannyvanGeel
@DannyvanGeel 5 лет назад
Great video guys. As for my 50 cts I think it would be cleaner to ditch the .dockerignore and copy from a source folder: COPY ./src .
@pebre79
@pebre79 5 лет назад
Basically, Docker is version control for runtime environments. You can run 'docker tag myuserid:myvernumber' then 'docker push'. Now you have committed and pushed an entire runtime environment to docker hub (or your own deployed registry if you want). There i saved you hours trying to understand it :)
@OfficialDevTips
@OfficialDevTips 5 лет назад
Correction: Only saved 50 minutes 42 seconds, that's 0.845 hour saved.
@pebre79
@pebre79 5 лет назад
DevTips :p
@lucienperouze
@lucienperouze 5 лет назад
Check out Koa : koajs.com/ . It's made by the same team. It's basically an asynchronous express. They changed the architecture of express keeping all the good stuff but now you are building async middleware that await each other allowing you to exploit full capacities of node multi process / clusters. The way they talk about it, it seems that it should have been the evolution of express but would have deprecated the entire framework so they had to create a new one. I'm using it now and I don't see any reason to go back to express once you're confident with it. The only problem is that for the moment the community is not that big and many other tools rely on express, sometimes you have to trick a little bit to bundle express tools to it but it is really easy and I guess the community will grow. I would love to see a video of it if you are interrested :)
@xfabiosoft
@xfabiosoft 5 лет назад
Can you explain how two containers can interact each other? For example a node app and a mongo database? Thanks
@LazyGod840
@LazyGod840 5 лет назад
For that, you need docker-compose. You will find good tutorials for this, i managed to get it working just fine. The only thing i got stuck on was: when you want to access container named mydatabase port 123 in compose from other container in the same compose file, you just write mydatabase:123 as url. Hopefully it will make sense after reading any guide.
@sergioangel8362
@sergioangel8362 5 лет назад
Gentlemen you're both great. Love the interactions displayed. Funny yet genuine. Keep up the good work guys!
@АлексейСироткин-в3к
Thanks for the video! You definitely should try nestjs.com/ instead of express next time. It`s a great new framework for node js
5 лет назад
Just one thing if you are a Linux user you don't need to have a docker account in order to install the docker-ce version.
@Fellc0de
@Fellc0de 5 лет назад
Awesome Video, Though there is one thing i cant see right now. Lets stay you are developing some basic Backend with for example express. You set up some Basic routes and you are running it within docker. Do i need to rebuild and restart the whole image and container if i need to add some Code to the Backend, ie routes or packages? Or is there a kind of hot deployment/rebuild source only possibility?
@DannyvanGeel
@DannyvanGeel 5 лет назад
The port mapping as shown in the video is also applicable to folders, effectively making the container run code straight from your local machine. These are called volumes in Dockerworld. As for restarting, you could use nodemon for example which will restart your app when it detects file changes. No image rebuilds or container restarts required.
@Fellc0de
@Fellc0de 5 лет назад
Sounds awesome! Is this an actual thing or more of a "hacky" approach to solve this?
@DannyvanGeel
@DannyvanGeel 5 лет назад
@@Fellc0de The possibilities are endless but I guess this is a typical development setup. Of course you would remove the volume and nodemon and package your files within the image when you're ready to deploy for production. Actually volumes are essential for persisting data as everything generated within the container will be lost when it is deleted.
@danko95bgd
@danko95bgd 5 лет назад
Was just thinking about using ghost for some basic websites instead of shitty wordpress :d
@oguzhan2393
@oguzhan2393 5 лет назад
Can you do a video about authorization login page frontend and backend :)
@insomn3ak
@insomn3ak 5 лет назад
Your correct. The ISPs in the US are shit. No arguments here.
@axMf3qTI
@axMf3qTI 5 лет назад
Love these videos because the struggle is real and often I feel the same pain when trying something new.
@gandlaf22
@gandlaf22 5 лет назад
Great video! Well explained. Why are there two COPY statements? Won't "COPY . ." also copy everything included in "COPY package*.json". Why can't we just first do "COPY . ." then "RUN npm install". Also what is the difference between "RUN npm install" and "CMD ["npm", "start"]. Why can't we just do "RUN npm start" or "CMD ["npm", "install"]?
@bmitch3020
@bmitch3020 5 лет назад
You can do a single copy command, but then you lose some build caching features of docker. By splitting the lines, docker reuses the build cache of the package.json and npm install as long as the package.json file doesn't change. If you make it one copy command, any code change reruns the copy and npm install on every build command.
@nataliavelazquez6043
@nataliavelazquez6043 5 лет назад
Ohh MPJ, I think I have a crush on you...
@DanielWeikert
@DanielWeikert 5 лет назад
Great video.Thanks so much. Now we created a dockerfile based on our code which can then be shared correct? Could you please extend this and show how we can run several docker images and connect them like your example with the database. Do they interact via ports? How does this work? Sorry total neebie to that.
@brianhogg358
@brianhogg358 5 лет назад
I might’ve missed it, but after you build the docker image, can you keep doing dev work on it? Is it editable? Or do you need to rebuild all the time?
@OfficialDevTips
@OfficialDevTips 5 лет назад
You rebuild it - think of it as the compiled artifact that comes from the Dockerfile.
@NWCalvank
@NWCalvank 5 лет назад
I'd just like to clarify something.. You can't edit the image itself, but you can edit any volume-mounted files and see those changes reflected in a running container. An example of the dev workflow (with docker-compose) might be to build an image from a base image (such as FROM node:11), copy your dependency description (ie. package*.json) & install them, then volume-mount your app's /src files to the container. In this way, the image gets built without your src files. They, instead, get stuffed into the container once the container is spun up. If you edit your src files on the host, you'll see the changes reflected in the container without having to rebuild :)
@curt1s19
@curt1s19 5 лет назад
Guys, for those who use linux for desktop this install operation, with docker engine and docker-compose is kind of few cli utilities for seconds, not the 0.5 Gb dmg image, and it's working even faster than on a Mac, and without separate virtualbox instance or in other words, natively, so for web developers on linux there is just no other so great option to develop and test apps inside different environments, php and node versions, apache and nginx servers, without installing and configuring all that software every time, also you can just put a small configuration yaml file of your Docker environment into your git repo and share it with others, so they just run it and continue to work, that's brilliant! Add to this, that every cloud provider, like DO, Google, Amazon, all use docker-based things for CI/CD and you have another step, a deployment, and it's consists of your docker configuration file plus steps to reproduce, like execute it, and put there code from app repo, then run tests and make a badge, that all of them are successful, so you have automation!
@froggerabc
@froggerabc 5 лет назад
Great video. Thanks.
@williamkwok
@williamkwok 5 лет назад
This video was great for the initial first steps! I also would like to see server side rendering connected to a database of sorts then using docker with an online web service. I don't have a lot of deployment experience besides static gh-pages + buying a domain to connect to that and would love to learn more.
@BradleyHerrin
@BradleyHerrin 5 лет назад
"So many Americans will say..." I disagree. Any American that knows anything about Internet infrastructure in the United States will wholeheartedly agree that things are far from great here (as far as Internet access is concerned). Firstly, access is just plain hard to get in very large parts of the country, specifically rural areas. Secondly, most areas with good access are under regional monopolies which then leads to access being prohibitively expensive.
@paulosandsten983
@paulosandsten983 5 лет назад
Working with Docker is more or less "de Facto" in Silicon Valley. Docker is great as you can use it on any machine. It makes VM:s obsolete for lean development and devOps. Docker and docker-compose changed my developer life.
@llebkered
@llebkered 5 лет назад
If you want bad broadband, come to Australia. The government started build a network that originally had fibre going to 93% of homes and businesses. A new government came to power just as the build was starting to ramp up. They stopped the FTTP rollout and replaced it with FTTN & HFC. The tech community warned them it would be a disaster. It's a $50 billion dollar disaster.
@casperengelmann4575
@casperengelmann4575 5 лет назад
I found AdonisJs and used it for a chat app. Probably not the best use case. It's literally a clone of Laravel written in JS, using classes like Laravel does. Even the folder structure is pretty much the same. I'd love to see how you would go about using it for something, anything!
@Soundtech98
@Soundtech98 5 лет назад
Always wanted to start learning docker but have been putting it off for "some day". Thanks for resparking that interest. I am absolutely on board with the idea of separating concerns / requirements and would love to see your attempt at a 3 tier architecture (Front-end > API > Database) to understand how you enforce the routing so that only API can talk with the DB. There are so many development videos out there, why not do a little about real deployment (perhaps with docker), prepping for deployment, best practices, bundling.. just some ideas, keep it up!!
@noaimi781
@noaimi781 5 лет назад
Love the video! Tip: if you guys are using discord, you can turn on priority speaking so that no one overspeaks / speaks over the other. It would still be possible but it won’t affect the video so you can keep on talking without the breaks.
@karl42-73
@karl42-73 5 лет назад
Nice video indeed! Not that I fully understood everything in detail lol but a good start for sure. I would love to see how to use Docker on bitbucket (or other git hoster), having only the sources in repo, build dist with docker and deploy to live server via ssh. Go on trying, failing, learning, succeeding and making us curious :) - love you guys, especially your videos ;)
@madisonelliott3357
@madisonelliott3357 5 лет назад
MPJ needs sleep! Stress?
@bigexpectation
@bigexpectation 5 лет назад
Thank you for the introduction. As a follow-up, I would be interested to hear what you think about dokku. It works great as a PaaS (I used it in production) but it might have some downsides regarding control and performance. Would love to see some exploration and explanation from you!
@dustinpoissant
@dustinpoissant 5 лет назад
My work makes us use something called vagrant. It's just like docker but sucks. Even the firm we work with in India use docker. I wish my work would use docker instead of vagrant.
@naim1212
@naim1212 5 лет назад
9:35 maybe koa.js? some people prefer using koa instead of express. a video about it would be nice... and many thanks for great contents...
@shlomilachmish
@shlomilachmish 5 лет назад
Great stuff, now I know that Docker is not black magic 😉 Would be great if you can cover Kubernetes as it seems to become the standard way to manage containers
@blbnslks
@blbnslks 5 лет назад
For someone who never touched docker this video is informative and very understandable. When I first heard about docker, the thing people mentioned the most about, is that it lets you have multiple containers of the same thing, so when something crashes it just automatically runs on different container and prevents your whole app from crashing.
@MrRiesable
@MrRiesable 5 лет назад
You should have a look at the node package "@zeit/ncc". This makes it possible to pack an application into a single file, similar to Webpack. This saves the complete npm install step for the docker build process.
@naansequitur
@naansequitur 5 лет назад
Loving these vids, so much more relaxing watching you two tinker with a technology than doing it myself! Could you do one on writing a tiny Lambda function, maybe as a reaction to a form submission? 😊
@mmahgoub
@mmahgoub 5 лет назад
Docker compose next time and use a Windows 10 Home so you can see what we are dealing with
@paulrdrs
@paulrdrs 5 лет назад
I think you will need Windows 10 Professional to run it
@mmahgoub
@mmahgoub 5 лет назад
@@paulrdrs Thant's the point! you need to run Docker toolbox where nothing works as expected!
@flipperiflop
@flipperiflop 5 лет назад
I would really appreciate seeing a more ""complete" docker setup, with editing the code, persistant folder/whatever - just to get an idea of how things look like on that side
@watching4410
@watching4410 5 лет назад
Gatsby! - static page generator... (since you were doing web scraping can talk about how Gatsby websites are great for scrapers.)
@md2k6
@md2k6 5 лет назад
I would love to learn how to deploy to AWS or some cloud service using Docker.
@NdamuleloNemakh
@NdamuleloNemakh 5 лет назад
nice one
@shishirkumarsky
@shishirkumarsky 5 лет назад
😯😯😯😥
@NeoChromer
@NeoChromer 5 лет назад
How to do development with docker? How do I change code and then deploy? Do i need to make a new image everytime i do code changes ?
@abbyck
@abbyck 5 лет назад
Gooood
@nikicamaksimovski9964
@nikicamaksimovski9964 5 лет назад
The tool for creating a package.json file 😱😱😱
@devinmitchell2226
@devinmitchell2226 5 лет назад
lol I thought Docker was very different than it actually is apparently
@haydermabood
@haydermabood 5 лет назад
An episode or even a series about NestJS would be wonderful!
Далее
Trying Kubernetes 📦 for the First Time
52:14
Просмотров 21 тыс.
Exploring Docker [1] - Getting Started
34:38
Просмотров 409 тыс.
Barno
00:22
Просмотров 658 тыс.
Postgres just got even faster
26:42
Просмотров 30 тыс.
Learn Docker in 12 Minutes 🐳
12:01
Просмотров 2,1 млн
What is THIS in JavaScript?
33:14
Просмотров 84 тыс.
Docker, FROM scratch - Aaron Powell
59:31
Просмотров 137 тыс.
7 Amazing Developer Tools that you're not using yet
6:27
Introduction to Microservices, Docker, and Kubernetes
55:08
JavaScript Pro Tips - Code This, NOT That
12:37
Просмотров 2,5 млн