Arc Forumnew | comments | leaders | submitlogin
Is there a Docker image for running news.arc?
6 points by nase 2945 days ago | 6 comments


5 points by fauria 2923 days ago | link

Hi,

I just published the Docker image: https://github.com/fauria/docker-hn

Feel free to send any issues or PRs.

p.s. I'm using this image for KeyDao in a CoreOS droplet: https://keydao.com/

-----

4 points by zck 2923 days ago | link

Whoa, that's fantastic. How difficult was it to set up?

Thanks for doing it!

-----

3 points by fauria 2923 days ago | link

A little bit tricky, there were some issues with permissions and shared volumes. If you find any issue just let me know!

-----

4 points by malisper 2944 days ago | link

I haven't seen anything like that, but it should be pretty easy for someone to create such an image.

-----

4 points by fauria 2935 days ago | link

I'm currently working on it. It's not being that easy though: https://github.com/arclanguage/anarki/issues/59

-----

5 points by akkartik 2931 days ago | link

I just want to point out a conversation I had with fauria on GitHub, in case others here have ideas. Currently the HN code doesn't support keeping the HN data (.../anarki/www) on a separate partition from the code (.../anarki) as Docker would like to do to maintain stateless containers. This is because any file creation which performs a create-then-rename first creates the temporary file in .../anarki/tmp. Renames then fail if .../anarki/www is in a different volume.

I'm not sure what the cleanest fix is here.

https://github.com/arclanguage/anarki/issues/59#issuecomment...

-----