Skip to content
New issue

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

[doc] Inspecting an image #4

Closed
peterus opened this issue Oct 22, 2021 · 2 comments
Closed

[doc] Inspecting an image #4

peterus opened this issue Oct 22, 2021 · 2 comments

Comments

@peterus
Copy link

peterus commented Oct 22, 2021

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
Copy link
Member

foosel commented Oct 22, 2021

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?

@foosel foosel closed this as completed in 8067fda Oct 22, 2021
@peterus
Copy link
Author

peterus commented Oct 22, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants