[doc] Inspecting an image
Closed this issue · 2 comments
peterus commented
the doc to inspect an image is not working out of the box, as docker is expecting a path and not a file. further the -v
is missing.
this is working for me:
docker run -it --rm --privileged -v /path/to/image_folder:/img ghcr.io/octoprint/custopizer:latest /CustoPiZer/enter_image /img/image.img
foosel commented
You are right, the -v
is missing. Will fix that right away.
However, a file works just fine, and according to Docker's documentation is also expected to work. I also just checked again and can confirm that
docker run -it --rm --privileged -v /path/to/image.img:/image.img ghcr.io/octoprint/custopizer:latest /CustoPiZer/enter_image /image.img
works over here, can you please check again?
peterus commented
no idea what was wrong bevor, now working as expected 👍 thanks for the fix!