@Erkin_Qarayev is effectively bypassing the docker-entrypoint pieces that do a lot of the sanity checks that help with a successfully running mongod.

@Erkin_Qarayev you may want to create your own container and invoke or extent the docker-entrypoint.sh

1 Like