While defining container (Home >> Containers), in advanced settings, there is the
Runtime & Resources tab. There, I can see
Memory reservation and
Memory limit. Does one of them refers to docker parameter
--shm-size? If not, how to pass that parameter?
So far, if I leave both as unlimited, I can see that shared memory is set to its default docker’s value of 64M.
~$ docker exec -it postgres df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
shm 64M 8.0K 64M 1% /dev/shm