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
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.
Mounting an emptyDir
to /dev/shm and setting the medium to Memory
did the trick!
spec:
volumes:
- name: dshm
emptyDir:
medium: Memory
containers:
- image: gcr.io/project/image
volumeMounts:
- mountPath: /dev/shm
name: dshm