when running: docker run -ti --rm -e DISPLAY=$DISPLAY firefox i get the following error. I am using admin powershell and i set DISPLAY to my IP.
Unable to find image 'firefox:latest' locally
docker: Error response from daemon: pull access denied for firefox, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
I ran docker login successfully but that didnt change anything. I'm trying to get a vncserver with xterm working in a docker container but im very new to all of this. I wanted to test your code to see if i can get a GUI up and running.
Started coding at the age of 13, now a professional software engineer and Scrum Master, creating and maintaining enterprise solutions. Eat - Sleep - Code - Lift - Repeat 💪🏾
can you please post the content of your Dockerfile?
Also, it is important which name you gave your build.
So you should have the Dockerfile in a folder and then run a PowerShell instance (as admin), change into the directory where your Dockerfile is and run the docker build -t firefox . command first. The firefox at the end is the name the image will be labeled with after the build and this name should be used in the docker run command.
Hi Robin,
when running: docker run -ti --rm -e DISPLAY=$DISPLAY firefox i get the following error. I am using admin powershell and i set DISPLAY to my IP.
Unable to find image 'firefox:latest' locally
docker: Error response from daemon: pull access denied for firefox, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
I ran docker login successfully but that didnt change anything. I'm trying to get a vncserver with xterm working in a docker container but im very new to all of this. I wanted to test your code to see if i can get a GUI up and running.
Help would be much appreciated!
Hi oaparfene,
can you please post the content of your Dockerfile?
Also, it is important which name you gave your build.
So you should have the
Dockerfile
in a folder and then run a PowerShell instance (as admin), change into the directory where your Dockerfile is and run thedocker build -t firefox .
command first. Thefirefox
at the end is the name the image will be labeled with after the build and this name should be used in the docker run command.Hi Robin,
thank you for the reply. Turns out the mistake i made was naming my Dockerfile "firefox" instead of "Dockerfile"