mongodb-container
mongodb-container copied to clipboard
run-mongod ignores rest of arguments
Both, MariaDB and PostgreSQL pass the rest of the run-docker run command to the
exec ${MYSQL_PREFIX}/libexec/mysqld --defaults-file=$MYSQL_DEFAULTS_FILE "$@" 2>&1
...
exec postgres "$@"
This allows to change/add some options on the docker run command line or in template without providing whole new configuration. If there are no side effects, we should do it the same in mongodb container.
[1] https://github.com/sclorg/mariadb-container/blob/master/10.1/root/usr/bin/run-mysqld#L35 [2] https://github.com/sclorg/postgresql-container/blob/master/9.5/root/usr/bin/run-postgresql#L28