在daemon.json中configuration的Docker基本映像大小

将docker守护程序configuration从CMD移到/etc/docker/daemon.json。 我放置在下面将基本图像大小从默认的10.7G更改为20G,但守护进程无法启动

{ "storage-opts": [ {"dm.basesize": "10G" } ], "graph": "/home/ashwaghmare/docker/docker-data" } 

语法的改变帮助configuration了基本的图像大小

 { "storage-opts": ["dm.basesize=20G"], "graph": "/home/ashwaghmare/docker/docker-data" }