docker-py getarchive destination folder

I am following the instructions given in this link for get_archive()link
but instead of creating my container i was trying to use already running container in my case “docker-nginx” as an input string and also the destination folder where my content was residing in nginx server as ‘/usr/share/nginx/html’ and got my output for the stat of the folder too i want to know how can i give the destination folder in this function if not where is my extrated tar file ? i was not able to figure out where my file was downloaded

here is my code

  • How do you set up an elastic search cluster with multiple master nodes in docker compose?
  • Docker 1.10 container's IP in LAN
  • Docker machine inject USB device
  • prometheus notis “sample timestamp out of order”
  • Spring Boot External Configuration when using Docker
  • Building an application stack using Docker
  • my output for print(strm) is <requests.packages.urllib3.response.HTTPResponse object at 0x7fe3581e1250>

    my output for print(stat) is {u'linkTarget': u'', u'mode': 2147484157, u'mtime': u'2016-10-05T09:37:17.928258508-05:00', u'name': u'html', u'size': 4096}

  • Docker oracle database fails when starting after commiting
  • Docker Volume vs AWS s3
  • Docker Service Update Error: EOF
  • Docker named volumes vs DOC (data-only-containers)
  • Access container environment variables in inline run command
  • Docker OS / application containers
  • One Solution collect form web for “docker-py getarchive destination folder”

    I found out how this function works what it does it returns raw response of a requests made to our container. raw response explaination can be found in this link
    in order to extract raw content we can use this code so that we can simply read our raw data as text format according to the output file in my case html.
    f= open('out.html', 'w')
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.