瀏覽代碼

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.
Juan Luis Rodríguez 6 年之前
父節點
當前提交
0746a03991
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      geonetwork/content.md

+ 1 - 1
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 <host path>:<data directory>`. 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%%