mirror of https://github.com/docker/docs.git
Fix wrong format in sample daemon.json (#3804)
The provided daemon.json is incorrect - at least on Docker 17.05, trying to use it raises an FATA[0000] unable to configure the Docker daemon with file /etc/docker/daemon.json: invalid character ':' after array element on starting the Docker daemon. The root cause is that it uses key-value pairs inside the array, whereas it should use strings
This commit is contained in:
parent
6ae2cf46d9
commit
0c5a0a797f
|
@ -163,12 +163,12 @@ options in the table above.
|
|||
{
|
||||
"storage-driver": "devicemapper",
|
||||
"storage-opts": [
|
||||
"dm.directlvm_device": "/dev/xdf",
|
||||
"dm.thinp_percent": 95,
|
||||
"dm.thinp_metapercent": 1,
|
||||
"dm.thinp_autoextend_threshold": 80,
|
||||
"dm.thinp_autoextend_percent": 20,
|
||||
"dm.directlvm_device_force": false
|
||||
"dm.directlvm_device=/dev/xdf",
|
||||
"dm.thinp_percent=95",
|
||||
"dm.thinp_metapercent=1",
|
||||
"dm.thinp_autoextend_threshold=80",
|
||||
"dm.thinp_autoextend_percent=20",
|
||||
"dm.directlvm_device_force=false"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue