Can run single-node but not clustered

I’m running crate on a remote vm ubuntu-1804-bionic-v20190722a through docker.

When I try to run crate on a clustered setting:
sudo docker run -d --name=crate01
–net=cratenetwork -p 4201:4200 --env CRATE_HEAP_SIZE=2g
crate -Cnetwork.host=site

it starts up the container, but automatically stops the container after about 5 seconds or so.

But when I run crate on a single-node parameter:
docker run -d --name=cratesingle
–net=cratenetwork -p 4201:4200 --env CRATE_HEAP_SIZE=2g
crate -Cnetwork.host=site
-Cdiscovery.type=single-node

it works perfectly fine.

temp fix:
using -Cnode.store.allow_mmapfs=false on the clustered node fixes the problem, im guessing it’s not ideal though.

Could you post the output of the CrateDB logs? There should be some indicators on why it doesn’t start up correctly.