-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[APIv2] log output of container is in binary format #6628
Comments
A friendly reminder that this issue had no activity for 30 days. |
@jgallucci32 If you do this with Docker, does it give you clean output? |
@QiWang19 PTAL |
@rhatdan Yes, the output with Docker is the same with cURL as it would be with the CLI. When using the |
A friendly reminder that this issue had no activity for 30 days. |
@QiWang19 or @ashley-cui Did you gals ever look at this? |
Started poking around, and didn't get very far before getting distracted. I can probably pick it up tomorrow or next week, but will need help with it |
@jgallucci32 looks like this is docker behavior too..
|
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The log output of a container using APIv2 is binary output and not plaintext.
Steps to reproduce the issue:
Describe the results you received:
The following warning is displayed
Describe the results you expected:
Logs should output in plaintext. Confirmed this is how it works with Docker API.
Additional information you deem important (e.g. issue happens only occasionally):
When using the
--output -
flag with cURL as suggested by the warning the output is incorrectly formatted. Here is the output for thehello-world
containerOutput of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora 33 (Rawhide Prerelease)
The text was updated successfully, but these errors were encountered: