Building and running a container on a local machine

So far, we have discussed Docker  elements, along with an example of a Dockerfile that is used to containerize a web application, so we now have all the elements to run Docker.

The execution of Docker is performed by these different operations:

  • Building a Docker image from a Dockerfile
  • Instantiating a new container locally from this image
  • Testing our locally containerized application

Let's take a deep dive into each operation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.230.107