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
strm,stat=c.get_archive(container_name,'/usr/share/nginx/html')
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}