OctoPrint/CustoPiZer

[doc] Inspecting an image

Closed this issue · 2 comments

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

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?

no idea what was wrong bevor, now working as expected 👍 thanks for the fix!