Moving docker daemon configuration from CMDto /etc/docker/daemon.json. I placed below to change base image size from default 10.7G to 20G but daemon failed to start
{
"storage-opts": [
{"dm.basesize": "10G" }
],
"graph": "/home/ashwaghmare/docker/docker-data"
}
~
Change in syntax helped configure base image size
{
"storage-opts": ["dm.basesize=20G"],
"graph": "/home/ashwaghmare/docker/docker-data"
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.