Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Base Image Size configured in daemon.json

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"
}

~

like image 381
ashishWaghmare Avatar asked Jan 05 '17 10:01

ashishWaghmare


1 Answers

Change in syntax helped configure base image size

{
  "storage-opts": ["dm.basesize=20G"],
  "graph": "/home/ashwaghmare/docker/docker-data"
}
like image 126
ashishWaghmare Avatar answered Oct 20 '22 10:10

ashishWaghmare