# How to access container files using rancher?

**URL:** <https://forums.suse.com/t/how-to-access-container-files-using-rancher/5672>\
**Category:** Rancher 1.x\
**Created:** [February 27, 2017, 3:28pm UTC](https://forums.suse.com/t/how-to-access-container-files-using-rancher/5672 "2017-02-27T15:28:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![08ski11s](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/08ski11s/32/2062_2.png) [@08ski11s](https://forums.suse.com/u/08ski11s)\
**Post date:** [February 27, 2017, 3:28pm UTC](https://forums.suse.com/t/how-to-access-container-files-using-rancher/5672/1 "2017-02-27T15:28:48Z")

</div>

how to access container data files using rancher lb? like editing, uploading/downloading etc.,

[CODE]  
ubuntu 16.04 \> docker

- docker container: (contains the following below)
  - lemp stack with ubuntu base 16.04  
with openssh-server installed  
with ubuntu-standard package installed  
[/CODE]

thank you

---

<div class="post-metadata">

**Author:** ![DannyBiker](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/dannybiker/32/2196_2.png) [@DannyBiker](https://forums.suse.com/u/DannyBiker)\
**Post date:** [February 27, 2017, 3:36pm UTC](https://forums.suse.com/t/how-to-access-container-files-using-rancher/5672/2 "2017-02-27T15:36:02Z")

</div>

I was about to create a topic but my question is related : is there a way to download containers files from Rancher ? I’m mostly interested in logs…

Thank you.

---

<div class="post-metadata">

**Author:** ![sjiveson](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sjiveson/32/966_2.png) [@sjiveson](https://forums.suse.com/u/sjiveson)\
**Post date:** [February 28, 2017, 12:47pm UTC](https://forums.suse.com/t/how-to-access-container-files-using-rancher/5672/3 "2017-02-28T12:47:38Z")

</div>

@08ski11s I really don’t understand your question. You want to access files in the Rancher LB container? Or some other container? If it’s some other one and it’s running Nginx, then surely you serve the files through that? If you want to put a Rancher LB in front of that, it’s simple enough following a standard setup and pointing it at your LEMP container and port.

---

<div class="post-metadata">

**Author:** ![sjiveson](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sjiveson/32/966_2.png) [@sjiveson](https://forums.suse.com/u/sjiveson)\
**Post date:** [February 28, 2017, 12:52pm UTC](https://forums.suse.com/t/how-to-access-container-files-using-rancher/5672/4 "2017-02-28T12:52:14Z")

</div>

@DannyBiker Not directly no. The typical approach is to write logs to a volume mount and use something (Fluentd, splunk, whatever) to forward them to some central place. Alternatively, in a smaller scenarios, SCP them off the box, or run Greylog, Splunk, Logstash or whatever on the same host.

---

<div class="post-metadata">

**Author:** ![08ski11s](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/08ski11s/32/2062_2.png) [@08ski11s](https://forums.suse.com/u/08ski11s)\
**Post date:** [February 28, 2017, 3:43pm UTC](https://forums.suse.com/t/how-to-access-container-files-using-rancher/5672/5 "2017-02-28T15:43:32Z")

</div>

i dont know, i was guessing if it is possible or something, sorry to waste your time… thank you for replying… i am just new to this, no idea about using rancher accessing the containers…
