You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running zonemaster-cli in Docker, one cannot easily use the --hints option: that’s because the hints file usually lives outside the container’s file system.
While it is possible to get a Dockerized zonemaster-cli to run with custom hints, the command line to achieve this isn’t easy to figure out if one is unfamiliar with both Docker and Linux in general.
In a nutshell, the answer is:
$ docker run --mount type=bind,source=/path/to/hints,target=/hints --rm zonemaster/cli:local --hints /hints zone.to.test
I think this use case is worth documenting somewhere.
The text was updated successfully, but these errors were encountered:
When running
zonemaster-cli
in Docker, one cannot easily use the--hints
option: that’s because the hints file usually lives outside the container’s file system.While it is possible to get a Dockerized
zonemaster-cli
to run with custom hints, the command line to achieve this isn’t easy to figure out if one is unfamiliar with both Docker and Linux in general.In a nutshell, the answer is:
I think this use case is worth documenting somewhere.
The text was updated successfully, but these errors were encountered: