Docker Community Forums

Share and learn in the Docker community.

Is it possible to limit Overlay2 to a single partition?

Hello,
I have been asked to setup device-mapper on a server. However, once done, docker info tells me that device-mapper will soon be removed, so I need to switch to Overlay2.

The thing is that the server on which I’m working on has 2 disks: boot (2 gb) and sdc (100g). My initial goal is to use 25% of sdc for device-mapper’s cache, and the rest for the images.

My problem is that Overlay2 doesn’t seem to propose that, but is it possible to make Overlay2 only use the sdc partition?

Thank you in advance