Tested with CLI tools version 0.8
- First problem, cannot mix
command
andtmpfs
services:
mongo:
image: mongo:3.2
command: [ --smallfiles, --noprealloc, --nojournal, --quiet ]
tmpfs: /data/db
causes error 2017/10/12 00:28:17 Cannot override container command
Works fine without tmpfs
services:
mongo:
image: mongo:3.2
command: [ --smallfiles, --noprealloc, --nojournal, --quiet ]
- When running with just the
tmpfs
and nocommand
the service never recognizes that it’s up. It waits forever.
services:
mongo:
image: mongo:3.2
tmpfs: /data/db
I presume these are bugs - should I report both on Github?