Dokku Export csv and json data from dokku-mongo service exec mongoexport command inside the docker container follow the official documentation from MongoDB copy it using docker cp <CONTAINER_ID>:<FILENAME> <INTENDED_DIR>