Persistence is created in docker containers using volumes. Let's create a Limesurvey container and persist the database, uploaded content and configuration in a named volume:
docker volume create --name mysql
docker volume create --name upload
docker run -d --name limesurvey -v mysql:/var/lib/m...