Error while running docker run command

+1 vote

I’ve been trying to run the jenkinsci/blueocean image as a container in docker using the following docker run command

But I’m ending up with the following error-

docker: Error response from daemon: repository jenkinsci/blueecean not found: does not exist or no pull access.

Jul 26, 2018 in Docker by Hannah
• 15,800 points
138 views

1 answer to this question.

+1 vote

This error occurs when your port is already being used up. Right now I’m assuming you have Jenkins running on your 8080 port and hence docker is not being able to pull.

Exit Jenkins by typing

Localhost:8080/Exit

And then try running the same command.

Use sudo before the command.

It worked for me, it should work for you as well.

answered Jul 26, 2018 by Kalgi
• 41,820 points
Hi :)
I am having similar issue and I am a newbie to Jenkins also.
Jenkins is already is installed n the server with many jobs/projects I have logged into but I would like to know if try above method to run the jenkinsci/blueocean image(exit localhost:8080), the existing Jenkins config would disappear.
Please let me know if there is any better approach?
Thanks in advance.
If you already have a Jenkins instance running you can use the Blue Ocean plugin to get all of its features. Your existing pipeline projects will continue to work as usual.
Can't we change the port number here?
Existing jenkins configuration will not disappear, they'll remain just the way but where you're configuring the job make sure you apply and save. And then you can run the jenkins/blueocean image the normal way.
@Bolder, When we install docker, by default it's set to port 8080. We basically have to exit whatever is running on port 8080. In my case I had jenkins running on 8080.

Related Questions In Docker

0 votes
1 answer

Error while trying to run an image - Docker

This error means that the container tries ...READ MORE

answered Aug 22, 2018 in Docker by Nilesh
• 6,880 points
1,641 views
0 votes
1 answer
0 votes
1 answer

How to run a docker command from inside the container?

You must have come across the /var/run/docker.sock file, ...READ MORE

answered Jun 28, 2018 in Docker by Sophie may
• 9,850 points
375 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,900 points
195 views
0 votes
1 answer

Error while executing docker run command

This error occurs when your port is ...READ MORE

answered Jul 26, 2018 in Docker by Kalgi
• 41,820 points
187 views
+1 vote
11 answers

How can I run a ‘docker exec’ command inside a docker container?

I guess there’s no docker runtime in ...READ MORE

answered May 14 in Docker by Frank
101,723 views