Perform the following steps:
- Transfer the myapache2.tar file we created in the previous recipe to a new Docker host using any of your favorite file transfer tools.
- Now, on the new Docker host, import the transferred myapache2.tar file, as shown in the following code:
$ docker image import myapache2.tar apache2:imported
- Here, we have imported our myapache2.tar file as an apache2:imported image.