Pulling an image and running a container
I am borrowing this recipe from the next chapter to introduce some concepts. Don't worry if you don't find all the explanation in this recipe. We'll cover all the topics in detail later in this chapter or in the next few chapters. For now, let's pull an image and run it. We'll also get familiar with Docker architecture and its components in this recipe.
Get access to a system with Docker installed.
How to do it…
- To pull an image, run the following command:
$ docker pull fedora
- List the existing images by using the following command:
$ docker images
- Create a container using the pulled image and list ...