Define size for /dev/shm on container engine

前端 未结 2 884
渐次进展
渐次进展 2020-12-12 21:10

I\'m running Chrome with xvfb on Debian 8. It works until I open a tab and try to load content. The process dies silently...

Fortunately, I have gotten it to run smo

2条回答
  •  离开以前
    2020-12-12 21:18

    docker run --cap-add=SYS_ADMIN --shm-size 2G --name chrome chrome-hd
    

    to run container locally where

    --shm-size 2G
    

    is used to tweak shm available size.

提交回复
热议问题