gulshankhatri-2990 avatar image
0 Votes"
gulshankhatri-2990 asked saldana-msft edited

Is there a way to builder windows server docker image with custom scratch space size?

I'm using server image and I see that it comes by default with 20GB scratch space. I am hoping to customize the image by changing the default scratch space.

I already went through How to get past the 20gb limit? but passing --storage-opt option to docker run command or hanging the daemon.json is not an option for me as I am trying to use Windows servers as pods from Kubernetes and pod ephermal-storage limit adheres to default 20GB default container scratch space.

I have 2 questions:

  1. Is it possible to build a custom Microsoft server image with more scratch space?

  2. Is it possible to pass the docker run option --storage-opt to Kubernetes pod manifest as an argument?

Any help is much appreciated.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers