Tutorial by Examples

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...
We need to create a container to mount the volume. Then archive it and download the archive to our host. Let's create first a data volume with some data: docker volume create --name=data echo "Hello World" | docker run -i --rm=true -v data:/data ubuntu:trusty tee /data/hello.txt Let...

Page 1 of 1