Merge branch 'master' of github.com:portainer/portainer-docs

pull/53/head 1.18.1
Anthony Lapenna 2018-07-03 20:47:45 +02:00
commit bee0036ea0
1 changed files with 5 additions and 2 deletions

View File

@ -197,7 +197,9 @@ Example:
A JSON array describing the associated volumes of the template. Each element in the array must be a valid JSON object that has a required container property.
For each element in the array, a Docker volume will be created and associated when starting the container. If a bind property is defined it will be used as the source of a bind mount.
For each element in the array, a Docker volume will be created and associated when starting the container.
If a bind property is defined it will be used as the source of a bind mount.
If a readonly property is is defined and true, the volume will be mounted in read-only mode.
This field is **optional**.
@ -212,7 +214,8 @@ Example:
},
{
"container": "/usr/share/nginx/html",
"bind": "/var/www"
"bind": "/var/www",
"readonly": true
}
]
}