From 0746a03991326cd99fbada0c4eca7010cb01054f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Rodri=CC=81guez?= Date: Fri, 30 Aug 2019 14:59:44 +0300 Subject: [PATCH] Fixes problems with html-like words As a workaround to https://github.com/docker/hub-feedback/issues/1849 remove < and > characters from the example command. --- geonetwork/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geonetwork/content.md b/geonetwork/content.md index dde39f87b..679083fdb 100644 --- a/geonetwork/content.md +++ b/geonetwork/content.md @@ -46,7 +46,7 @@ $ docker run --name some-%%REPO%% -d -p 8080:8080 -e DATA_DIR=/var/lib/geonetwor ## Persist data -If you want the data directory to live beyond restarts, or even destruction of the container, you can mount a directory from the docker engine's host into the container. - `-v :`. For instance this, will mount the host directory `/host/geonetwork-docker` into `/var/lib/geonetwork_data` on the container: +If you want the data directory to live beyond restarts, or even destruction of the container, you can mount a directory from the docker engine's host into the container. - `-v /host/path:/path/to/data/directory`. For instance this, will mount the host directory `/host/geonetwork-docker` into `/var/lib/geonetwork_data` on the container: ```console $ docker run --name some-%%REPO%% -d -p 8080:8080 -e DATA_DIR=/var/lib/geonetwork_data -v /host/geonetwork-docker:/var/lib/geonetwork_data %%IMAGE%%