We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When building and running a Docker container for linkcheck, evaluating localhost:[port] on the host always results in connection failed
localhost:[port]
connection failed
FROM tennox/linkcheck
$ docker build --platform linux/arm64 -t filiph/linkcheck .
$ docker run --rm -it filiph/linkcheck :[port]
Running linkchecker after installing via homebrew / dart works as expected.
With Docker, I've also attempted the following URLs:
EDIT: updated Docker image to be built from latest available tag at Docker hub /tennox/linkcheck
The text was updated successfully, but these errors were encountered:
✋🏻 I am facing the exact same issue.
What is strange is I think it was running fine a few days ago and not today 🤔
linkcheck version 2.0.20
On a Linux host
docker-compose up <my-service> -> binds in 8000:8000
docker run --rm \ --network=host \ -v "${PWD}/tools/linkcheck/:/skipfiles/" \ tennox/linkcheck :8000 --skip-file /skipfiles/skip_files.txt Crawling... Provided URLs failing: http://localhost:8000/ (connection failed) Stats: 0 links 1 destination URLs 0 URLs ignored 0 warnings 1 errors make: *** [Makefile:115: test-live-links] Error 2
Despite the fact that, within the linkcheck container
linkcheck
# curl -I http://localhost:8000 HTTP/1.0 200 OK Date: Thu, 09 Feb 2023 19:05:16 GMT Server: WSGIServer/0.2 CPython/3.9.2 Content-Type: text/html Content-Length: 80749
Sorry, something went wrong.
No branches or pull requests
Problem
When building and running a Docker container for linkcheck, evaluating
localhost:[port]
on the host always results inconnection failed
connection failed
Steps to reproduce
FROM tennox/linkcheck
$ docker build --platform linux/arm64 -t filiph/linkcheck .
$ docker run --rm -it filiph/linkcheck :[port]
Additional info
Running linkchecker after installing via homebrew / dart works as expected.
With Docker, I've also attempted the following URLs:
System settings
EDIT: updated Docker image to be built from latest available tag at Docker hub /tennox/linkcheck
The text was updated successfully, but these errors were encountered: