From 3b420c7d9b5e7dfea857144f7b8904b242c53829 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Thu, 11 Jan 2018 22:19:38 +0100 Subject: [PATCH] Move image name to the end --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d01b1e15..d528b4cd 100644 --- a/README.md +++ b/README.md @@ -48,16 +48,18 @@ To make your data persistent to upgrading and get access for backups is using na Nextcloud: - `/var/www/html/` folder where all nextcloud data lives ```console -$ docker run -d nextcloud \ --v nextcloud:/var/www/html +$ docker run -d \ +-v nextcloud:/var/www/html \ +nextcloud ``` Database: - `/var/lib/mysql` MySQL / MariaDB Data - `/var/lib/postgresql/data` PostgreSQL Data ```console -$ docker run -d mariadb \ --v db:/var/lib/mysql +$ docker run -d \ +-v db:/var/lib/mysql \ +mariadb ``` If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps. @@ -73,12 +75,13 @@ Overview of the folders that can be mounted as volumes: If you want to use named volumes for all of these it would look like this ```console -$ docker run -d nextcloud \ +$ docker run -d \ -v nextcloud:/var/www/html \ -v apps:/var/www/html/custom_apps \ -v config:/var/www/html/config \ -v data:/var/www/html/data \ --v theme:/var/www/html/themes/ +-v theme:/var/www/html/themes/ \ +nextcloud ``` ## Using the Nextcloud command-line interface