-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Change screen resolution
Hazmeister 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
environment variables. e.g:
docker run -d -p 4444:4444 -e SCREEN_WIDTH=1366 -e SCREEN_HEIGHT=768 --name chrome -v /dev/shm:/dev/shm selenium/standalone-chrome