How to do it...

Let's pick the myapache2 image we created in the Create an image from a container recipe and export the image as a .tar file, as shown in the following code:

    $ docker image save --output=myapache2.tar myapache2  

The preceding command generates the myapache2.tar file, which can be imported as described in the next recipe.

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

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