We've now successfully learned how to create a darker image in order to run red us on our machine locally.
But there's still a lot to learn about creating image in running darker applications.
So in this section we're gonna kick off a new project.
The goal of this project is to create a tiny node J.S. web application rapid inside of a docker container
and then be able to access that web application from a browser running on your local machine.
We're not going to worry about deploying this app right now.
We're just focused on getting know jazz to work inside of a docker container.
Let me first begin by showing you a quick outline of some of the steps that we're going to go through.
So the first thing we have to do is create an actual node Jazz Web application.
Now if you don't have any experience with no J.S. and you're more of a Java person or Ruby or whatever
it might be.
That is totally fine.
The code that we're gonna write for the javascript side of things is totally optional so you can either
watch the video we're where we will put together the server or you can entirely skip it and you can
just download the single file or one or two files that you're going to need.
So if you don't know anything about no J.S. no problem whatsoever after we create the No j ust web app.
Well then author a docker file.
We're gonna make a docker file to create an image that is going to be used to run our web server inside
of a container.
So we're going to build the image from the docker file.
We will run the image as a container on our local machine and then we will make sure that we are able
to connect to that running web application inside the container from our browser.
Now last thing I want to mention here and this might be might be something makes you a little bit unhappy
but I'm going to throw a disclaimer out here.
We're going to do some things in this project a little bit wrong.
So when we put together our Docker File we're going to make a couple of mistakes and we're doing this
very much on purpose because these are going to be some mistakes that I really expect you to make when
you start working on Docker on your own projects.
So I want you to see these mistakes.
I want you to see the error messages and I want you to learn how to fix them.
So just quick disclaimer you know again we're gonna do things just a little bit wrong.
Don't worry I will be very clear when we come across an error and I will say very very clearly hey we
did this on purpose.
Here's the mistake and here is how to fix it.
I know that sometimes in a tutorial it's really frustrating when things are done incorrectly.
I'm totally aware of that so I'm gonna make sure that these errors are as distinct and highlighted as
possible.
All right.
So then mind let's take a quick break.
When we come back the next section.
We're going to start putting together this node J.S. web application so I'll see you in just a minute.