Open xw1198 opened 7 years ago
The version of libcompose we're using doesn't support shm_size
yet. Once we update it should be supported.
A pretty relevant PR was just made in libcompose too (docker/libcompose#411).
Encountered a situation where I need to increase shared memory on a container. Could someone provide a status update on current ability to support setting shm_size please? (my attempt w/ros1.5.0 failed) Thanks!
How do we adjust/increase /dev/shm?
Thanks.
RancherOS Version: (ros os version) v0.7.0 Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.) vmware
docker version 1.12.1
wrote s sample test.yml test: image: ubuntu:14.04 labels: io.rancher.os.detach: "true" io.rancher.os.scope: system uts: host net: host ipc: host shm-size: 256m privileged: true command: "/sbin/init splash"
after the test test container up, check the /dev/shm size in test container, it is still 64M, did not changed by shm-size