Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection timeout when attempting to connect to docker image #734

Closed
raffazizzi opened this issue Oct 2, 2018 · 1 comment
Closed

Connection timeout when attempting to connect to docker image #734

raffazizzi opened this issue Oct 2, 2018 · 1 comment

Comments

@raffazizzi
Copy link

Issues and Contributing

After obtaining jenkins:lst and running it, I cannot connect to the image and it eventually times out.

Docker commands that you execute

docker pull jenkins/jenkins:lts
docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts

Actual result

Jenkins is fully up and running, but cannot be accessed on http://localhost:8080 - it hangs and eventually times out.

Expected outcome

Jenkins is fully up and running and should be accessible on http://localhost:8080

Have you tried a non-dockerized Jenkins and get the expected outcome?

No

Output of docker version

Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        e68fc7a
 Built:             Tue Aug 21 17:24:56 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       e68fc7a
  Built:            Tue Aug 21 17:23:21 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Other relevant information

I wondered if port 8080 was correctly open on my system and it is:

tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN

I also thought it might be a writing permission issue. A volume for Jenkins and a data folder gets created here:

/var/lib/docker/volumes/cf9c316711cca5aa2bc686dade2d075d9f26e6a0a7b4715e0a4ea8d31c852fe9/_data/

and the permissions are set to 1000 nmr.

My system: Linux 4.4.0-131-generic #157-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

@raffazizzi
Copy link
Author

Closing, this is a duplicate of #702 apologies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant