# Can not export process of mattermost running on docker

**URL:** <https://forum.mattermost.com/t/can-not-export-process-of-mattermost-running-on-docker/12781>\
**Category:** Command Line Interface\
**Created:** [January 6, 2022, 12:45am UTC](https://forum.mattermost.com/t/can-not-export-process-of-mattermost-running-on-docker/12781 "2022-01-06T00:45:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hrtkz](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hrtkz](https://forum.mattermost.com/u/hrtkz)\
**Post date:** [January 6, 2022, 12:45am UTC](https://forum.mattermost.com/t/can-not-export-process-of-mattermost-running-on-docker/12781/1 "2022-01-06T00:45:16Z")

</div>

I’ve built a working environment for mattermost with docker.  
mattermost is working.

I can view the mattermost version from within the mattermost container.

However, the mattermost export stops as shown below, and the data cannot be exported.

Do you have any advice?  
I look forward to working with you.

**command**  
`sudo docker exec -it mattermost /bin/sh`  
`~ $ pwd`  
/mattermost

`~ $ bin/mattermost version --skip-server-start`

> Version: 6.3.0  
> Build Number: 6.3.0-rc1  
> Build Date: Tue Jan 4 14:33:37 UTC 2022  
> Build Hash: d872703dad249a50157b2b60c00f1cda5cc9a459  
> Build Enterprise Ready: false

> ~ $ bin/mattermost export bulk ./bulk.josn --all-teams

> {“timestamp”:“2022-01-06 09:29:43.464 +09:00”,“level”:“info”,“msg”:“Server is initializing…”,“caller”:“app/server.go:237”,“go\_version”:“go1.16.7”}  
> {“timestamp”:“2022-01-06 09:29:43.464 +09:00”,“level”:“info”,“msg”:“EXPERIMENTAL: Starting Bleve”,“caller”:“bleveengine/bleve.go:185”}  
> _ **↑The process will not come back here.** _

`docker ps`

> CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
> fe895c4d0d33 mattermost/mattermost-team-edition:release-6.3 “/entrypoint.sh matt…” 36 minutes ago Up 36 minutes (healthy) 8067/tcp, 0.0.0.0:8065-\>8065/tcp, :::8065-\>8065/tcp, 8074-8075/tcp mattermost  
> 9e5537845355 postgres:13-alpine “docker-entrypoint.s…” 36 minutes ago Up 36 minutes 5432/tcp postgres\_mattermost

**config.json**

> “SqlSettings”: {  
> “DriverName”: “postgres”,  
> “DataSource”: “postgres://mmuser:mmuser\_password@postgres:5432/mattermost?sslmode=disable\u0026connect\_timeout=10”,  
> “DataSourceReplicas”: ,  
> “DataSourceSearchReplicas”: ,  
> “MaxIdleConns”: 20,  
> “ConnMaxLifetimeMilliseconds”: 3600000,  
> “ConnMaxIdleTimeMilliseconds”: 300000,  
> “MaxOpenConns”: 300,  
> “Trace”: false,  
> “AtRestEncryptKey”: “qcge3m5z5k1hkicoqugzoimce6fe5d8t”,  
> “QueryTimeout”: 30,  
> “DisableDatabaseSearch”: false,  
> “ReplicaLagSettings”:   
> },
