# CloneWar and sqlite Create 2 folders to store database and the dump : ``` . .. data/database.db data/dump.sql ``` where database.db contains the SQLite database. dump.sql contains the dump of the database. ``` docker run --rm \ --user $(id -u):$(id -g) \ -v /$(pwd)/data:/db \ keinos/sqlite3 \ sh -c "sqlite3 /db/database.db .dump > /db/dump.sql" ``` Then: `docker run -it <image>` source: https://raphaelpralat.medium.com/how-to-run-local-sqlite-commands-in-a-docker-container-bcba18af69f2