# Upload file to Convoy Gluster

**URL:** <https://forums.suse.com/t/upload-file-to-convoy-gluster/3440>\
**Category:** General\
**Created:** [July 18, 2016, 2:14pm UTC](https://forums.suse.com/t/upload-file-to-convoy-gluster/3440 "2016-07-18T14:14:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaliko](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/shaliko/32/1516_2.png) [@shaliko](https://forums.suse.com/u/shaliko)\
**Post date:** [July 18, 2016, 2:14pm UTC](https://forums.suse.com/t/upload-file-to-convoy-gluster/3440/1 "2016-07-18T14:14:50Z")

</div>

Hi,

I need run some docker image with .yml config. For that reason I did:

1. Launch Gluster FS
2. Launch Convoy Gluster

**Now before “Launch Service” I need upload .yml config to Convoy Gluster volume, how can I do that?**

I can connect to “glusterfs-server” and check volume info, but not found yet how create file that will be replicated.

```
[root@glusterfs_glusterfs-server_1 /]# gluster volume info

Volume Name: my_vol
Type: Replicate
Volume ID: 7f3390e9-98e5-4d97-b377-ad6495d5b321
Status: Started
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: 10.42.152.122:/data/glusterfs/brick1/my_vol
Brick2: 10.42.220.135:/data/glusterfs/brick1/my_vol
Brick3: 10.42.220.198:/data/glusterfs/brick1/my_vol
Options Reconfigured:
performance.readdir-ahead: on
```

---

<div class="post-metadata">

**Author:** ![cjellick](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/cjellick/32/2876_2.png) [@cjellick](https://forums.suse.com/u/cjellick)\
**Post date:** [July 18, 2016, 4:00pm UTC](https://forums.suse.com/t/upload-file-to-convoy-gluster/3440/2 "2016-07-18T16:00:46Z")

</div>

Its important to note that one \*gluster volume" will contain many docker volumes. So, if you `docker run --volume-driver convoy-gluster -v vol1:/abc -v vol2:/xyz ...`, but vol1 and vol2 will be created on that gluster volume.

To answer your question, we don’t provide a way to interactively upload files to docker volumes. A script in your container (or in a sidekick of the container) would have to download the file when the container was started.

---

<div class="post-metadata">

**Author:** ![shaliko](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/shaliko/32/1516_2.png) [@shaliko](https://forums.suse.com/u/shaliko)\
**Post date:** [July 18, 2016, 7:16pm UTC](https://forums.suse.com/t/upload-file-to-convoy-gluster/3440/3 "2016-07-18T19:16:38Z")

</div>

I need run service (few instances) of [api-umbrella container](http://api-umbrella.readthedocs.io/en/latest/getting-started.html#running-with-docker), that require config file for each container. All containers will have equal “api-umbrella.yml” file, what the right way for manage that task when work with Rancher?

---

<div class="post-metadata">

**Author:** ![shaliko](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/shaliko/32/1516_2.png) [@shaliko](https://forums.suse.com/u/shaliko)\
**Post date:** [July 19, 2016, 1:21pm UTC](https://forums.suse.com/t/upload-file-to-convoy-gluster/3440/4 "2016-07-19T13:21:37Z")

</div>

Any advice or example of similar tasks?

Thanks!
