-
Notifications
You must be signed in to change notification settings - Fork 137
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
Docker for Windows image #3
Comments
Comments from original PR by @drnybble: |
by @apihlaja: Does your mounts work generally? Ie. is this issue narrowed down to CouchDB and/or Erlang? Docker For Windows FAQ suggest it's not as straightforward as it's with Linux host: Q: Can I share local drives and filesystem with my Docker Machine VMs? |
by @drnybble: As discussed in moby/moby#31524 the cause of failure with Couch 1.6 is a defect in the Erlang version it uses. I have created a Dockerfile for Couch 2.0.0.1 and it works (the problem area of the Erlang code is extensively reworked and no longer has this problem). I am attaching the Dockerfile here if it is useful.
|
I can confirm that the Dockerfile is working |
Working here as well. v2.3.1 Thanks much! |
We may simply transition CouchDB on Windows (10) to use Docker under WSL2. We need some performance testing to see if this makes sense, however. |
This is not good, WSL2 is still far from production in Windows Server, also LCoW is far from production on Windows Server; We need proper windows support of the product and not running a Linux version of it on Windows. |
Not planning to do this anytime soon. That said, the Windows port of CouchDB has terrible performance as compared to literally any other platform. It is not intended for production use, and you will have a bad time if you try to scale CouchDB on Windows. We publish the binaries to make development and testing easier. Improving the performance on Windows would require a concerted effort from Microsoft, working with Ericsson, to improve file-based access on Windows in Erlang, especially when it comes to file locking mechanisms and stdio. We asked about this over 10 years ago, and are still waiting... |
From docker-couchdb: klaemo/docker-couchdb#107
Other official repositories such as mongo and redis are now offering native Windows container images.
What are the plans for offering a CouchDB Windows image?
I have tried to build one myself. When I make the data directory a VOLUME Erlang quits shortly after the container starts. So there appears to be some kind of compatibility problem with CouchDB and Windows containers.
Let me know what information I could collect to diagnose why it doesn't work with native Windows docker.
The text was updated successfully, but these errors were encountered: