Skip to content

Commit 6b60cf4

Browse files
blagaehasezoey
andauthored
docs(known-issues): add notes about potential missing libcurl4/3 (#614)
- add requirements information to README - add requirements information to quick-start-guide - add known-issues section Co-authored-by: benoit.lagae <[email protected]> Co-authored-by: hasezoey <[email protected]>
1 parent 1154d10 commit 6b60cf4

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ And one of those (on Linux):
7878
- having an `/etc/*-release` file that is compliant to the [OS-Release Spec](https://www.freedesktop.org/software/systemd/man/os-release.html) (and does not include `lsb`)
7979
- manually specify which version & system should be used
8080

81+
On Linux, you will also need `libcurl4` (or `libcurl3` on some older distro versions). This will probably only be an issue on "slim" Docker images.
82+
8183
### Choose the Correct Package
8284

8385
[Choose the right package for the task](https://nodkz.github.io/mongodb-memory-server/docs/guides/quick-start-guide#choose-the-right-package)

docs/guides/known-issues.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,16 @@ Workaround:
2121

2222
- Use a SystemBinary with [`SYSTEM_BINARY`](../api/config-options.md#SYSTEM_BINARY)
2323
- Do not use AlpineLinux
24+
25+
## libcurl on slim Docker images
26+
27+
Docker images of the "slim" variety often don't have `libcurl` installed, such as [the official "slim" Node.js image](https://hub.docker.com/_/node) or [sitespeed.io node](https://hub.docker.com/r/sitespeedio/node).
28+
If you don't install it manually, then `mongodb-memory-server` will not start up in your container, with the following exception message:
29+
30+
> Instance Exited before being ready and without throwing an error!
31+
32+
This can easily be resolved by installing it in your image:
33+
34+
```sh
35+
apt-get install libcurl4
36+
```

docs/guides/quick-start-guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ When on Linux, one of the following are required:
1717
- having an `/etc/*-release` file that is compliant to the [OS-Release Spec](https://www.freedesktop.org/software/systemd/man/os-release.html) (and does not include `lsb`)
1818
- manually specify which version & system should be used
1919

20+
On Linux, you will also need `libcurl` (or `libcurl3` on some older distro versions). This will probably only be an issue on "slim" Docker images.
21+
2022
## Choose the right package
2123

2224
There are multiple packages for this project, here are the differences:

0 commit comments

Comments
 (0)