$ docker build -t blt-centos:latest .# Run container and keep it alive to apply changes
$ docker run --rm -it --entrypoint bash --mount type=bind,source="$(pwd)",target=/app blt-centos:latest
# Within container
$ bin/broken-links-tool https://example.com$ docker run --rm -it --entrypoint bash --mount type=bind,source="$(pwd)",target=/app blt-centos:latest
$ bin/composer test$ docker run --rm blt-centos:latest https://example.com$ docker run --rm blt-centos:latest https://example.com --enable-js
# For JavaScript generated pages, defaults to false
$ docker run --rm blt-centos:latest https://example.com --invalid-urls
# Print invalid URLs only
$ docker run --rm blt-centos:latest https://example.com --valid-urls
# Print valid URLs only
# By default prints all URLs Code: 1000 Reason: Failed to crawl
Usually, it is seen for sites not accepting web crawler or require user authorization