Great video, thanks! I'd love to see docker-compose tutorial as a follow-up video.
@niclaskron33846 жыл бұрын
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.
@OfficialDevTips6 жыл бұрын
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...
@GifCoDigital6 жыл бұрын
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.
@arihunta6 жыл бұрын
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"?
@arihunta6 жыл бұрын
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.
@krish2244885 жыл бұрын
Good point. If you are interested here is a deeply technical explanation of what docker is and how are they different for Virtual Machines.. kzbin.info/www/bejne/ZonFZWVnYp52itE
@anythingforweb6 жыл бұрын
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.
@fvgoya6 жыл бұрын
Same here!!!
@travholt6 жыл бұрын
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.
@voigtan6 жыл бұрын
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
@sergioangel83626 жыл бұрын
Gentlemen you're both great. Love the interactions displayed. Funny yet genuine. Keep up the good work guys!
@blbnslks6 жыл бұрын
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.
@webgeek20216 жыл бұрын
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!
@GifCoDigital6 жыл бұрын
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!!!
@freecodecamp6 жыл бұрын
It's alway helpful to dock my eyes to your videos.
@nicholasarthur55253 жыл бұрын
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.
@angelokaiden71963 жыл бұрын
@Nicholas Arthur Instablaster :)
@nicholasarthur55253 жыл бұрын
@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.
@nicholasarthur55253 жыл бұрын
@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!
@angelokaiden71963 жыл бұрын
@Nicholas Arthur you are welcome =)
@mfilipe776 жыл бұрын
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.
@qwarlockz80176 жыл бұрын
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!
@stsbmu71695 жыл бұрын
Very helping and not boring funny video. Thanks a lot!
@gustoxt11936 жыл бұрын
GraphQL seems to be the next coolest thing. It'd be great to see a video on it!
@OfficialDevTips6 жыл бұрын
Cool! Check out this video on Fun Fun Function! kzbin.info/www/bejne/onKtiHt-it9rlZo
@marcustulliuscicero95126 жыл бұрын
check out andrew mead's course
@thmater-x97866 жыл бұрын
Docker + DataBase in next the next Video , and thank you for this great explanation and great video
@arturhavrylov6 жыл бұрын
Very good type of video tutorial! When one teaches and another guy is trying to understand how it works!s
@setsuna81175 жыл бұрын
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.
@axMf3qTI6 жыл бұрын
Love these videos because the struggle is real and often I feel the same pain when trying something new.
@pebre796 жыл бұрын
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 :)
Nice Video! It's a good intro to docker with a mix of live coding. Live coding makes it suspense (to fail) and exciting =))
@JonatanKapps896 жыл бұрын
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!
@ulissemini54926 жыл бұрын
11:18 man yeah its so hard to install stuff! *casually runs sudo apt install docker* *it works*
@jibinkoshy27396 жыл бұрын
Superb video. Please include more tutorials on Docker.
@jacksonlenhartmusic6 жыл бұрын
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!
@froggerabc6 жыл бұрын
Great video. Thanks.
@noaimiii6 жыл бұрын
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.
@AbhishekNigam6 жыл бұрын
Thanks for this type of videos :) I love it
@haydermabood6 жыл бұрын
An episode or even a series about NestJS would be wonderful!
@alexjin52326 жыл бұрын
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 😂
@Soundtech986 жыл бұрын
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!!
@chmoxster6 жыл бұрын
Thank you ! quick tip on mac you may press ctrl+l to clear your terminal :)
@GiovanniRavalico6 жыл бұрын
I'd love to see Koa!
@DannyvanGeel6 жыл бұрын
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 .
@creativemember3 жыл бұрын
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.
@karl42-736 жыл бұрын
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 ;)
@naansequitur6 жыл бұрын
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? 😊
@naim12126 жыл бұрын
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...
@JustisZley6 жыл бұрын
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?
@richardtenney34176 жыл бұрын
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.
@nicxes10746 жыл бұрын
This is the best way to learn for me.
@shlomilachmish6 жыл бұрын
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
@suckerr706 жыл бұрын
Very sweet vid! I'd like to see this woking with mutilpe services talking to each other! Keep it up guys
@_DeProgrammer6 жыл бұрын
You wanted a cool new thing? you should try server-side swift. Kitura is very nice.
@sitaruandrei74366 жыл бұрын
Fastify is the new cool NodeJS framework that you could use instead express.
@MrRiesable6 жыл бұрын
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.
@xfabiosoft6 жыл бұрын
Can you explain how two containers can interact each other? For example a node app and a mongo database? Thanks
@LazyGod8406 жыл бұрын
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.
@ljuglampa6 жыл бұрын
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
@willplaysrhythmgames6 жыл бұрын
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.
@Yoieh6 жыл бұрын
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"
@andersryanc6 жыл бұрын
Checkout Kubernetes
@Yoieh6 жыл бұрын
@@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.
@bigexpectation6 жыл бұрын
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!
@nendo5026 жыл бұрын
just learn about kitematic and ghost from this video, which are fancy alternative to docker hub & wordpress! very helpful! !
@nendo5026 жыл бұрын
and .dmg is just a stupid acronym of disk image 🤣
@samw1red8056 жыл бұрын
Isn't kitematic legacy now?
@curt1s196 жыл бұрын
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!
@micoberss55796 жыл бұрын
Try FASTIFY, a nodeJS backend framework. There was a presentation of it on NordicJS
@NeoChromer6 жыл бұрын
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 ?
@karianpour6 жыл бұрын
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.
@Fellc0de6 жыл бұрын
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?
@DannyvanGeel6 жыл бұрын
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.
@Fellc0de6 жыл бұрын
Sounds awesome! Is this an actual thing or more of a "hacky" approach to solve this?
@DannyvanGeel6 жыл бұрын
@@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.
@shoaibanwar16 жыл бұрын
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.
@DanielWeikert6 жыл бұрын
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.
@paulosandsten9835 жыл бұрын
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.
6 жыл бұрын
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.
@md2k66 жыл бұрын
I would love to learn how to deploy to AWS or some cloud service using Docker.
@oguzhan23936 жыл бұрын
Can you do a video about authorization login page frontend and backend :)
@ctfrancia6 жыл бұрын
Koa is amazing!!
@elyob6 жыл бұрын
What GUI were you using here?
@OfficialDevTips6 жыл бұрын
What you see is Visual Studio Code and Kitematic mostly.
@brianhogg3586 жыл бұрын
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?
@OfficialDevTips6 жыл бұрын
You rebuild it - think of it as the compiled artifact that comes from the Dockerfile.
@NWCalvank6 жыл бұрын
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 :)
@gandlaf226 жыл бұрын
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"]?
@bmitch30206 жыл бұрын
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.
@moulcode5 жыл бұрын
I really enjoy the show I will so glad if u make another video with a real server, not in the localhost thanks.
@harmeat6 жыл бұрын
superb vid once again. how about video on AMP?
@OfficialDevTips6 жыл бұрын
That would be awesome. AMP is pretty powerful nowadays. And also discussion on the drawbacks of giving away your content etc.
@harmeat6 жыл бұрын
I didn't know about that. Will Google make it one of key (or mandatory) protocol for improving ranking?
@webnostix52566 жыл бұрын
What about using X11 forwarding from docker containers to run gui apps inside/outside/servedby them - would that be possible?
@jwkranenburg6 жыл бұрын
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.
@babylove75666 жыл бұрын
What about hot reloading while development?
@OfficialDevTips6 жыл бұрын
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.
@flipperiflop6 жыл бұрын
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
@nhulongctk106 жыл бұрын
haha. very very useful. dmg stands for damage.
@watching44106 жыл бұрын
Gatsby! - static page generator... (since you were doing web scraping can talk about how Gatsby websites are great for scrapers.)
@djsamke3846 жыл бұрын
Guys what happens when you add a node module, do you have to run that 7-step build again? And if so, and you uninstalled a few dependencies from the previous build and replaced it with other modules, is it going to reinstall all the dependencies or will it make changes to your node modules based on the new state of the package.json?
@OfficialDevTips6 жыл бұрын
You're adding a node module, that means that the intermediary steps/containers of *RUN npm install* has to redo itself. The others, such as loading Debian with *FROM node:8* is still cached and can be reused. But yes, you have to run *docker build* again.
@djsamke3846 жыл бұрын
Thank you...
@casperengelmann45756 жыл бұрын
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!
@douglasbrandao3916 жыл бұрын
HapiJs is a awesome webserver freamework!
@NdamuleloNemakh6 жыл бұрын
nice one
@flat9safety6 жыл бұрын
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...
@OfficialDevTips6 жыл бұрын
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.
@makhdv6 жыл бұрын
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.
@yavorstoychev40566 жыл бұрын
@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
@АлексейСироткин-в3к5 жыл бұрын
Thanks for the video! You definitely should try nestjs.com/ instead of express next time. It`s a great new framework for node js
@RobertBMenke6 жыл бұрын
nest.js is a cool framework if you're interested in checking it out. Used it on a work project recently and enjoyed it.
@canofsteam6 жыл бұрын
Ruby on Rails is my go to framework for getting a basic app up and running in a few seconds these days.
@abbyck6 жыл бұрын
Gooood
@nikicamaksimovski99646 жыл бұрын
The tool for creating a package.json file 😱😱😱
@MichaelRyanCaputo6 жыл бұрын
Cool new thing (old thing): hapi.js (alternative to Express)
@zebnat6 жыл бұрын
Before docker, your company could also setup a mirror production machine: same web server, same cgi version, same configurations, same db, same everything. Instead of you having the database installed locally, your team just used that mirror machine to see the changes. When you made changes, you just uploaded them with sftp using your IDE and then just F5, voila, no docker needed. To make things even easier, you could use the same domain name as the production website, just changing your hosts locally by pointing that domain to the mirror IP instead of using the DNS ip. The downsides of this, of course were: - If Internet turned off, "unable" to work (never happened). - 200ms delay because the upload of changes (not a problem). - Multiple developers required multiple mirror IP (extra IP costs only 1$ for a company) - Configuring the webserver of mirror with the multiple IPs (10 minutes of nginx configs once in a while) - If you did heavy DB changes (not often), you needed to create your own db in the mirror server, then change your dbname in your project config temporally, or the ENV variable.- maintain the mirror machine to be the same as the production machine (version of services etc)
@lucasteles426 жыл бұрын
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
@mmahgoub6 жыл бұрын
Docker compose next time and use a Windows 10 Home so you can see what we are dealing with
@paulrdrs6 жыл бұрын
I think you will need Windows 10 Professional to run it
@mmahgoub6 жыл бұрын
@@paulrdrs Thant's the point! you need to run Docker toolbox where nothing works as expected!
@norboost6 жыл бұрын
I think that someone should look into alpine images ^^
@TaaviJuursalu6 жыл бұрын
Check out hapi.js instead of express
@llebkered6 жыл бұрын
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.
@JonAthan-ln2wn6 жыл бұрын
Instead of express try koa next time! ❤️
@pascovicidinmoscova6 жыл бұрын
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
@lucienperouze6 жыл бұрын
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 :)
@danko95bgd6 жыл бұрын
Was just thinking about using ghost for some basic websites instead of shitty wordpress :d
@jonathanbakebwa22926 жыл бұрын
dmg is disk image
@ljuglampa6 жыл бұрын
I know you don't really like type systems Mattias, but the next big thing will be TypeScript taking over as the standard for creating JS apps. You should probably just embrace it and do some videos of it :) Also React hooks of course, even tho everybody is doing videos/posts of it now...
@benfurstenwerth6 жыл бұрын
Being adverse to tooling, you should use touch instead of creating the Dockerfile in your editor. :) Too much gooey
@dustinpoissant6 жыл бұрын
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.
@nathsimpson6 жыл бұрын
“The US has the worst internet” You should come to Australia 🇦🇺