ERPNext docker discussion


it’s the docker-compose branch you need to use (or is that what you meant when you said ‘develop branch’?)

@ganas athenas looks nice. Do you want to try it out for frappe?

I realize this is primarily a developers’ discussion, so I hope this comment is not out of place, but speaking from an end-user perspective, here’s why a single docker-container install is preferable for me even over the standard easy install: The easy install keeps failing for me (on Debian 8 Jessie). After a previous install got corrupted, I have lost 3 days of productivity time just trying to get ERPNext running again without success. I have already wiped my OS twice.

If an official turnkey dockerfile installation is available for a production environment where I only have to update some passwords and 1-2-3 I’m up and running again after something goes wrong, it’s a major plus for a non-developer like me.

Also much more of a user then developer here.
The container world promotes very much groups of single service containers funtioning together over all-in-one containers

I think the main advantages of such come to play really once you have i.e. one db container that serves databases for more then 1 (even very many) ERPNext containers. On a one site deployment that might not be so relevant.

From my perspective being docker ready would also attract more companies that provide ERPNext services (which may incl hosting) which will bring a lot of know how and development power to the whole scene I believe (@ianneub 's company may be an example for such)

Having both options would be good

Thanks @ganas. I tested this out, but actually it is not as simple as it sounds. Because I am putting Frappe inside a Docker container it is IMHO bad form to have that container try to create a new Docker container. This requires giving the container read/write permissions to the Docker daemon running on the host. An attacker could potentially run any container they wanted and have full root access to the host system in doing so.

That said, I could still use AthenaPDF binaries from inside the container, without using their native Docker packaging.

You can package it as NPM or Electron app, and use it. athenapdf_NPM

@rmehta i’ll try it on frappe using NPM build and I’ll let you know

1 Like

OK thanks, I got the images built now, was using develop instead of docker-compose branch. Follow up discussion on this thread:

1 Like

You really did an awesome job, thank you.

This way I can test ERPNext without install anything on my machine.

1 Like

And thanks to you too, those are the instructions I wanted to start digging into the development process.


getting an Sorry, you don't have access to that topic! error following your link, but would like to take a look at it. As I neither can find it by searching the forum …

can you look whether you can dig it back out somehow or post the relevant content in this topic here?

@ganas @ianneub @rmehta … isn’t that more a discussion about how to make ERPNext better (in regards to creating pdf’s from html) and not really related to the topic of getting it to run in a dockerized setup? If so, I’d suggest to put that in a different topic

@ianneub created the thread “Problems with my docker image” and invited me. Maybe it is private?

Lets start a fresh discussion!