<div dir="ltr"><div>Hi Dominik, <br></div><div><br></div><div>I was the one that originally created the Docker container for server-syncstorage. I created it so I could easily run the functional tests against a prototype golang implementation of the server[1].</div><div><br></div><div> The docker containers are here: <br></div><div><br></div><div><a href="https://hub.docker.com/r/mozilla/server-syncstorage/tags/">https://hub.docker.com/r/mozilla/server-syncstorage/tags/</a></div><div><br></div><div>The containers are automatically built, tested and published from CircleCI when we cut a new release. They contain the same code as we run in production so they should work. <br></div><div><br></div><div>There's no docs :(, but these tips/examples should get you started: <br></div><div><br></div><div>References: <br></div><div>* <a href="https://github.com/mozilla-services/server-syncstorage/blob/master/Dockerfile">https://github.com/mozilla-services/server-syncstorage/blob/master/Dockerfile</a></div><div>* <a href="https://github.com/mozilla-services/server-syncstorage/blob/master/docker-entrypoint.sh#L4-L24">https://github.com/mozilla-services/server-syncstorage/blob/master/docker-entrypoint.sh#L4-L24</a></div><div>* <a href="https://github.com/mozilla-services/server-syncstorage/blob/master/circle.yml">https://github.com/mozilla-services/server-syncstorage/blob/master/circle.yml</a><br></div><div><br></div><div><br></div><div>The docker-entrypoint.sh has most of the logic for running the container. So you should be able to: <br></div><div><br></div><div>  > docker run mozilla/server-syncstorage:v1.6.12 server</div><div><br></div><div>and it'll run with the default example.ini configuration. <br></div><div><br></div><div><br></div><div>If you want to use your own configuration you can:<br></div><div><br></div><div>  > docker run -v '/local/path/to/config.ini:/app/config.ini' -e "SYNC_SETTINGS_FILE=/app/config.ini" mozilla/server-syncstorage:v1.6.12 server</div><div><br></div><div>- this mounts your local config file into the docker container</div><div>- tells it where it is via the SYNC_SETTINGS_FILE environment variable <br></div><div><br></div><div><br></div><div>Here's how I use the docker container to test my prototype go-syncstorage server: <br></div><div><br></div><div><a href="https://github.com/mozilla-services/go-syncstorage/blob/master/circle.yml#L78-L81">https://github.com/mozilla-services/go-syncstorage/blob/master/circle.yml#L78-L81</a><br></div><div><br></div><div>Let me know if you have any more questions / run into any issues. <br></div><div><br></div><div>Ben<br></div><div><br></div><div>[1] <a href="https://github.com/mozilla-services/go-syncstorage">https://github.com/mozilla-services/go-syncstorage</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 1:40 PM, Dominik Erdmann <span dir="ltr"><<a href="mailto:mozilla@der-domi.de" target="_blank">mozilla@der-domi.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I see that Mozilla offers a lot of Docker images:<br>
<a href="https://hub.docker.com/u/mozilla/" rel="noreferrer" target="_blank">https://hub.docker.com/u/mozil<wbr>la/</a><br>
<br>
But for no one is a documentation available. I'm new with Docker and want to test. Can you please help me to find some infos?<br>
<br>
Thanks<br>
Domink<br>
______________________________<wbr>_________________<br>
Sync-dev mailing list<br>
<a href="mailto:Sync-dev@mozilla.org" target="_blank">Sync-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/sync-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listi<wbr>nfo/sync-dev</a><br>
</blockquote></div><br></div>