boilr icon indicating copy to clipboard operation
boilr copied to clipboard

Docker support

Open schmunk42 opened this issue 9 years ago • 4 comments

Hi @tmrts,

I just noticed you starred https://github.com/schmunk42/docker-boilr Let me know if you'd like to integrate Docker support for boilr.

The above repo is a bit experimental at the moment, especially regarding host-volumes. But any feedback is very welcome!

schmunk42 avatar Jun 19 '16 17:06 schmunk42

Hey Tobias,

Thanks for your work. I'd be interested/happy to help you with integrating your work to boilr. I'm not sure about the aliasing, but other than that it's very cool!

Let me know if you want to integrate it or I can try doing it

tmrts avatar Jun 20 '16 21:06 tmrts

@schmunk42 any updates on this? let me know if you need help or if you don't have time to work on this. In the meanwhile feel free to edit the wiki to point to docker-boilr

tmrts avatar Jul 01 '16 05:07 tmrts

Sorry for my late reply.

The first thing I noticed when building the image was, that I need to mount two volumes from my host, since I think it makes no sense to create files with boilr just in the container.

How would you call boilr running with Docker?

An alternative could also be to use docker-compose for that, a yml file could look like:

version: '2'
services:
  boilr:
    image: schmunk42/boilr
    volumes:
      - ~/.config/boilr:/root/.config/boilr
      - ./:/project

schmunk42 avatar Jul 04 '16 08:07 schmunk42

I am using boilr since a while with this alias

alias boilr="docker run -it --rm -v ${HOME}/.config/boilr:/root/.config/boilr -v ${PWD}:/project --workdir /project schmunk42/boilr"

Should be interchangeable with native usage.

schmunk42 avatar Dec 01 '16 18:12 schmunk42