-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Change screen resolution
Manoj Kumar edited this page Jul 11, 2018
·
2 revisions
You can change the screen resolution of the container at launch by using the SCREEN_WIDTH
and SCREEN_HEIGHT
and SCREEN_DEPTH
environment variables. e.g:
docker run -d -p 4444:4444 -e SCREEN_WIDTH=1366 -e SCREEN_HEIGHT=768 -e SCREEN_DEPTH=24 --name chrome -v /dev/shm:/dev/shm selenium/standalone-chrome