This image is for run chrome web browser in container.
You build image from this image.
FROM sabotagecla6/chrome
ENV PULSE_COOKIE=/tmp/pulse/cookie
ENV PULSE_SERVER=unix:/tmp/pulse/native
# ***********************************************
# setting for create user
# ***********************************************
ENV USER_ID=1000
ENV GROUP_ID=1000
ENV USER=ubuntu
ENV PASSWD=ubuntu
ENV ROOT_PASSWD=ubuntu
RUN . /opt/initilize-image.sh
CMD ["google-chrome-stable", "--no-snadbox"]
sudo docker run \
--privileged \
-u $(id -u):$(id -g) \
--shm-size=4096m \
--net=bridge \
-e DISPLAY \
-v /run/user/$(id -u)/pulse/native:/tmp/pulse/native \
-v ~/.config/pulse/cookie:/tmp/pulse/cookie:ro \
-v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 \
-v /tmp/.XIM-unix/:/tmp/.XIM-unix/ \
myimages/chrome \
google-chrome-stable
if you want that container run not privileged mode, you use saboagecla6/chrome-nosandbox
Content type
Image
Digest
sha256:ec2ccca0f…
Size
1 GB
Last updated
7 months ago
docker pull sabotagecla6/chrome