[question] Is there any way to add shm_size?
See original GitHub issueFor use apps like firefox, it requires atleast 1GB shm size. Is there any way to add shm_size property to the container.
ports:
- 3000:3000
shm_size: "1gb"
restart: unless-stopped
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to increase the size of the /dev/shm in docker container
You can modify shm size by passing the optional parameter --shm-size to docker run command ...
Read more >Docker shm-size | How To Resize It?
Firstly, launch the Ubuntu container. docker run --rm -it --name ubuntu ubuntu · Now confirm the shm-size using Docker inspect. docker inspect ...
Read more >Amazon ECS - add --shm-size to Docker run
I need to add the shm-size option to the docker run command for the containers run in my cluster on ECS. I cannot...
Read more >How to pass extra switch to docker run command
Is there a way to pass an extra option to the docker run command that cwltool runs? For instance I want to increase...
Read more >Question about shm size in PostgrSQL docker - Support
Restarting the container had no effect on the problem, after a while the error appeared again. I tried adding the line shm_size: '512mb'...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To anyone who has the same problem, you could use caprover service config override to update shm_size like this
I’ve tried that as well but container doesn’t start