ashishWaghmare
ashishWaghmare

Reputation: 410

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

~

Upvotes: 9

Views: 4604

Answers (1)

ashishWaghmare
ashishWaghmare

Reputation: 410

Change in syntax helped configure base image size

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

Upvotes: 10

Related Questions