Skip to content

Commit 4e9c31e

Browse files
committed
note on state
1 parent 01ab3f1 commit 4e9c31e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ The arguments to the container are:
3131
- a version number (e.g., `8.0`) to give to [m](https://github.com/aheckmann/m)
3232
- args for [mtools](https://github.com/rueckstiess/mtools)’s `init` subcommand
3333

34+
## Preserving state
35+
This container stores its state (e.g., mongod data files) under `/data`.
36+
To introspect that state outside the container, mount a volume to that path
37+
in the container.
38+
3439
## Caveats
3540
- You **MUST** anticipate the bound ports and export them.
3641
- The container’s platform will dictate server version availability. For example,

0 commit comments

Comments
 (0)