7 lines
213 B
Bash
7 lines
213 B
Bash
|
podman run -d --rm --name lan_party_db \
|
||
|
-v lan-party-db:/data/db:z \
|
||
|
-p 27017:27017 \
|
||
|
-e MONGO_INITDB_ROOT_USERNAME=root \
|
||
|
-e MONGO_INITDB_ROOT_PASSWORD=example \
|
||
|
docker.io/mongo:latest
|