Have you ever encountered this error “Cannot assign requested address (99)”, your ChromeDriver / webdriver can’t read the content, and most importantly, your code is perfectly working in your local but when you’ve deployed it in your docker that’s when the errors popping up? My current setup is, I’m trying to deploy a console application that uses Selenium Web Driver into a Docker container in my Docker Desktop. After a long searching for an answer and ready to give up this little project. I’ve noticed some points that doesn’t make sense in the console output.

Selenium ChromeDriver Error on Docker

Sunday, 31 July 2022
By TonyTony  


Selenium ChromeDriver Error on Docker

Have you ever encountered this error “Cannot assign requested address (99)”, your ChromeDriver / webdriver can’t read the content, and most importantly, your code is perfectly working in your local but when you’ve deployed it in your docker that’s when the errors popping up?
My current setup is, I’m trying to deploy a console application that uses Selenium Web Driver into a Docker container in my Docker Desktop.
After a long searching for an answer and ready to give up this little project.

I’ve noticed some points that doesn’t make sense in the console output.


Actual error when I deploy my .net console application in docker.

Actual error when I deploy my .net console application in docker.


Utilizing the docker bin bash, I noticed that the chrome driver version and the installed Chrome doesn’t match and the version is too far off.

Utilizing the docker bin bash, I noticed that the chrome driver version and the installed Chrome doesn’t match and the version is too far off.


Dockerfile chromedriver installation update - So, I’ve reviewed my dockerfile file and locate the chromedriver installation script and update accordingly like the highlighted one in the image.

Dockerfile chromedriver installation update - So, I’ve reviewed my dockerfile file and locate the chromedriver installation script and update accordingly like the highlighted one in the image.


On Docker run, I’ve noticed that there is an indicator that the ChromeDriver was started successfully, and things started working out as expected. If someone is interested on my dockerfile, kindly leave a message and I’ll get back to you as soon as possible. Happy coding guys.

On Docker run, I’ve noticed that there is an indicator that the ChromeDriver was started successfully, and things started working out as expected. If someone is interested on my dockerfile, kindly leave a message and I’ll get back to you as soon as possible. Happy coding guys.



Container not found? solve this issue with this simple solution.
Unexpectedly, this laptop can handle content creation load, high graphics gaming and development.
Selenium ChromeDriver cannot assign requested address fix on Docker
Are you expecting to see a validation message for you complex type fields? here's the solution.
Finally fixed my Civilization 6 game by following this simple fix.
The details is so captivating that I've purchase it without second thinking.
I've found the laptop I've been looking for. The laptop has pros and cons, but weighing the advantages I've immediately purchased this beast. So far, I'm not regretting it.
This time, I've tried to assemble from the 00 series, P-Bandai Gundam Exia Repair 3 RG model kit.
Finally, got my highway RFIDs !
Unboxing of SIC Kamen Rider W - Luna Trigger and Heat Metal by Bandai
Unboxing and assembly of Haro Mechanical Mascot by Billion Spark Craftsmanship
Unboxing of Shotriser and progrise key holder
Panda Express Pricelist and Food Guide - Updated December 2021
Unboxing and comparison of Figure rise standard
Gundam RG difference with old HG.
Heroes Headquarters Ph playground and non-gun laser tag arena are now open at Shangri-la plaza.
Unboxing and Assembly of Petit'GGuy Divers Blue
Sailormoon Power bank with mirror
Get amazed and entertained with your kids on this outdoor activities you can do in Clark, Pampanga.
It's time to reward someone you love, order now for customized cakes, cakepops, cupcakes, and other pastry products.
Unleashed the adrenaline inside you as Aeonz Everything goes to Bounce Trampoline theme park, which located at SM SouthMall, Las Piñas City.
Silang, Cavite | VANS, Onitsuka Tiger, ASICS, Rayban Outlet Stores
The country's first digital park with 14 interactive attractions to explore.
Up to 70% discount of different participating brands Robinsons Appliances, Robinsons department store, South Star drug store, Daiso, Toy R Us, True Value, Handyman, Top shop, Dorothy Perkins and many more.
Arabica coffee shop (Arabica ph) from Kyoto Japan is now in the Philippines located at W City Center BGC Taguig. Menu List
PacSafe 20th year anniversary event @ SM Megamall GL SM Mega Fashion Hall September 6 to 9 2018 Up to 70% off plus extra 20% off on all items
Hawker Chan Pricelist and Food Guide
Leave a reply

Let me know if I could help more.

Your e-mail address will not be published.

arrow_upward