:new: Recent update made chrome
the running USER. Chrome profile must be owned by user chrome
so you may need to run docker exec --volumes-from <your-chrome-profile> --user root siomiz/chrome chown -R chrome:chrome /home/chrome
to fix permission issues.
docker run -p 127.0.0.1:5900:5900 siomiz/chrome
Must agree to Google Chrome ToS to use.
You need a VNC client for the initial setup.
docker run -d --name chrome-profile siomiz/chrome
(NO password so DO NOT simply use -p 5900:5900 to expose it to the world!)docker inspect -f '{{ .NetworkSettings.IPAddress }}' chrome-profile
docker stop chrome-profile
(Technically the only config file CRD uses is /home/chrome/.config/chrome-remote-desktop/~host.json
which includes OAuth token and private key.)
docker run -d --volumes-from chrome-profile siomiz/chrome /crdonly
(no port needs to be exposed)
/crdonly
command will run chrome-remote-desktop in foreground.
It is recommended to docker pull siomiz/chrome
and restart the container once in a while to update chrome & crd inside (they will not get automatically updated). Optionally you can run docker exec --user=root <chrome-container> update
to upgrade only google-chrome-stable from outside the container (exit Chrome inside CRD after upgrading).