mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-10 15:02:41 +01:00
@@ -1,16 +1,16 @@
|
||||
# Run Chrome in a container
|
||||
#
|
||||
# docker run -it \
|
||||
# --net host \ # may as well YOLO
|
||||
# --cpuset-cpus 0 \ # control the cpu
|
||||
# --memory 512mb \ # max memory it can use
|
||||
# -v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket
|
||||
# -e DISPLAY=unix$DISPLAY \
|
||||
# -v $HOME/Downloads:/root/Downloads \
|
||||
# -v $HOME/.config/google-chrome/:/data \ # if you want to save state
|
||||
# --device /dev/snd \ # so we have sound
|
||||
# --name chrome \
|
||||
# jess/chrome
|
||||
# --net host \ # may as well YOLO
|
||||
# --cpuset-cpus 0 \ # control the cpu
|
||||
# --memory 512mb \ # max memory it can use
|
||||
# -v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket
|
||||
# -e DISPLAY=unix$DISPLAY \
|
||||
# -v $HOME/Downloads:/root/Downloads \
|
||||
# -v $HOME/.config/google-chrome/:/data \ # if you want to save state
|
||||
# --device /dev/snd \ # so we have sound
|
||||
# --name chrome \
|
||||
# jess/chrome
|
||||
#
|
||||
|
||||
# Base docker image
|
||||
|
||||
Reference in New Issue
Block a user