Docker - increase size of the /dev/shm

4.1k Views Asked by At

To run Sedna XML database I need to increase size of the /dev/shm. It's now 64M.

Is there some easy way to do this?

2

There are 2 best solutions below

0
On BEST ANSWER

Just in case somebody stumbles upon this - it is now available as a CLI option to 'docker run':

  --shm-size                      Size of /dev/shm, default value is 64MB
0
On

It looks like it is no possible for now, the shared memory size is currently hardcoded to 64M.

Several people have expressed interest in the same feature, and it is being worked on, check this Github issue.