New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Dockerfile #4797
Comments
Hi, @tonekk 😄. We're actually looking for someone to help us with Docker 🎉. We've got an open pull request and another one in development. Would it be possible for you to have a look at pull request #4765 (the part regarding the I've just opened pull request #4798 (which depends on the previous one) so you can have a look at what we're currently working on. Maybe we could work together on that one? What do you think? 🤔
We're still going to maintain the installer even if we improve the Docker configuration, because there are institutions who need/prefer a "classic" installation. But it would be awesome to provide both options, since AFAIK our current Docker configuration wasn't done with production environments in mind. |
Incidentally I am also currently working on Dockerizing Consul. My final mission is to deploy it to a Kubernetes cluster, but proper Dockerfiles are the necessary first step. I can confirm that as of this morning I have a few changes I'd like to PR on top of these that will hopefully simplify the Docker setup and move this issue closer to resolution. |
We've just dockerized docker, too. |
@muki @tonekk Sounds great! 🎉 Looking forward to the pull request! By the way, before merging #4798 I'd need confirmation that the commit "Remove redundant commands" is correct, since those lines seem redundant and docker compose seems to work without them, but due to my limited knowledge I'm not sure whether I might be missing something 🤔. |
Yes, they are redundant because those things are defined in the Dockerfile. The docker-compose stuff just overrides them (with the same values in this case). Personally I often keep The opinions in the previous paragraph are incredibly personal though, so I think just leaving it removed as it is right now is definitely a good enough choice. |
@muki Both pull requests have been merged 👍. |
Awesome! I have a working deployment, but will be extremely busy for the next 14 days. I'll try and get a PR ready sooner, but if not, expect one in two to three weeks. |
We're thinking about which features will be added in version 1.6, and were wondering: are you still working on this issue? If not, that's OK! By the way, no pressure 😉. We certainly don't want you to be stressed about including it in time for version 1.6; we're just checking what the status is. Thanks! |
Hi, I could provide the Dockerfile that we use to host consul in our setup for the SVA app (mentioned in #4872). |
@tonekk That would be great, thanks! 😄 |
Hi, @pwilimzig 😄. Since you mentioned in #4872 that tonekk has left the team, do you think you can provide the link to the repo with the Dockerfile tonekk mentioned? |
@muki @Kremer80 @ruslanguns @pwilimzig Does anyone on this issue have experience using Kamal? We're checking whether it'd make sense to use it to install Consul Democracy with Docker on production 🤔. |
I have never heard of Kamal. Sorry. |
The current
Dockerfile
has some serious deficiencies.We had huge problems using it in production.
I would like to offer to provide a Docker setup (or maybe different ones for production and development), which is implemented according to current best practices.
The goal should be to render
consul/installer
obsolete since modern deployment should just happen via docker.The text was updated successfully, but these errors were encountered: