docker get image from file code example
Example 1: docker extract file from image
docker cp $(docker create registry.example.com/ansible-base:latest):/home/ansible/.ssh/id_rsa ./hacked_ssh_key
Example 2: docker image load
$ docker load --input fedora.tar
$ docker load -i fedora.tar