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

An Entrypoint of "" causes an unwrap to panic #416

Closed
TheNeikos opened this issue Oct 18, 2022 · 2 comments
Closed

An Entrypoint of "" causes an unwrap to panic #416

TheNeikos opened this issue Oct 18, 2022 · 2 comments

Comments

@TheNeikos
Copy link

TheNeikos commented Oct 18, 2022

I am using podman, and when running testcontainers-rs with my own image I get this panic:

thread 'echoserver' panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid type: string \"\", expected a sequence", line: 146, column: 31)', /bla/bla/testcontainers-0.14.0/src/clients/cli.rs:331:88

Looking through the source, it seems that it comes from a serde call not working.

The input that causes this has "Entrypoint": "" on the offending line, which when looking at bollard_stubs cannot be parsed. Although the comment is exactly specifying this situation, the code is wrong.

I know it is not part of your library then, but since you are depending on it, I feel like this is the first place it should be reported.

@TheNeikos
Copy link
Author

This seems to go deeper, as incompatibilities between docker/podman: fussybeaver/bollard#238

I don't think that this can truly be resolved by this project. However I do think that in this case podman should not be a 'supported' platform.

@thomaseizinger
Copy link
Collaborator

Thanks for opening the issue!

We will be removing support for podman in the near future: #422.

@thomaseizinger thomaseizinger closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2022
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