Closed mals14 closed 2 years ago
I figured that if I build the same thing on the Ubuntu server then I can use this Dockerfile - just the first line is changed from Seleniarm to Selenium.
Now, of course, the next question is how to make it so that the same repository can be built on the Mac or the Ubuntu server without having to have two separate Dockerfiles.
But that is not such a big deal.
FROM selenium/standalone-chrome:105.0
Ready to close the issue because the original issue is resolved by way of using different base images on the Ubuntu server vs Mac M1. Not something that is desirable given Docker's promise of being able to work across platforms but at least it works. Leaving it here in case somebody here has additional insight to make this work without resorting to different Dockerfile documents.
What happened?
For me, this below Dockerfile works on the Mac with M1, but does not work on a Ubuntu server in the cloud. Any suggestions as to Dockerfile instructions such that
docker build
install python3 and pip3 on Mac M1 and on the server both?As of now when I run this Dockerfile in the cloud, I get an error as shown in logs below. It builds and runs just fine on Mac M1.
Spent countless hours trying to make this work. I am not an expert at all but would much like this to work. Feels like I am quite close.
Thank you!
Dockerfile below:
Command used to start Selenium Grid with Docker
Relevant log output
Operating System
Ubuntu
Docker Selenium version (tag)
seleniarm/standalone-chromium:105.0