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
Podman API doesn't accept "application/tar" content-type for "docker-compose build" #7185
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Comments
openshift-ci-robot
added
the
kind/bug
Categorizes issue or PR as related to a bug.
label
Aug 2, 2020
orenbm
changed the title
Podman API doesn't accepts "application/tar" content-type for "docker-compose build"
Podman API doesn't accept "application/tar" content-type for "docker-compose build"
Aug 2, 2020
baude
added a commit
to baude/podman
that referenced
this issue
Aug 3, 2020
even though the official documentation suggests that application/x-tar should be used for tar files, it seems docker-compose uses application/tar. we now accept them and issue a warning. Fixes: containers#7185 Signed-off-by: Brent Baude <bbaude@redhat.com>
vrothberg
pushed a commit
to vrothberg/libpod
that referenced
this issue
Aug 11, 2020
even though the official documentation suggests that application/x-tar should be used for tar files, it seems docker-compose uses application/tar. we now accept them and issue a warning. Fixes: containers#7185 Signed-off-by: Brent Baude <bbaude@redhat.com>
vrothberg
pushed a commit
to vrothberg/libpod
that referenced
this issue
Aug 11, 2020
even though the official documentation suggests that application/x-tar should be used for tar files, it seems docker-compose uses application/tar. we now accept them and issue a warning. Fixes: containers#7185 Signed-off-by: Brent Baude <bbaude@redhat.com>
vrothberg
pushed a commit
to vrothberg/libpod
that referenced
this issue
Aug 11, 2020
even though the official documentation suggests that application/x-tar should be used for tar files, it seems docker-compose uses application/tar. we now accept them and issue a warning. Fixes: containers#7185 Signed-off-by: Brent Baude <bbaude@redhat.com>
mheon
pushed a commit
to mheon/libpod
that referenced
this issue
Aug 17, 2020
even though the official documentation suggests that application/x-tar should be used for tar files, it seems docker-compose uses application/tar. we now accept them and issue a warning. Fixes: containers#7185 Signed-off-by: Brent Baude <bbaude@redhat.com>
mheon
pushed a commit
to mheon/libpod
that referenced
this issue
Aug 17, 2020
even though the official documentation suggests that application/x-tar should be used for tar files, it seems docker-compose uses application/tar. we now accept them and issue a warning. Fixes: containers#7185 Signed-off-by: Brent Baude <bbaude@redhat.com>
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Sep 23, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Running
docker-compose build <service-name>
where the service is built from a Dockerfile doesn't work, and yields aFailed to parse query parameter 'Content-Type': "application/tar": Content-Type: application/tar is not supported. Should be "application/x-tar"
error.Note: there is another issue where the network is not created successfully so as a workaround I ran
docker-compose network create test_default
before running the commands below.Steps to reproduce the issue:
Start podman service with
podman system service -t 0 tcp:0.0.0.0:8080 &
Run
export DOCKER_HOST=localhost:8080
so that docker-compose will talk with the Podman API service.Create Dockerfile, for example:
docker-compose.yml
:docker-compose build service-name
Describe the results you received:
Describe the results you expected:
Image is built successfully:
Additional information you deem important (e.g. issue happens only occasionally):
Output 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.):
export DOCKER_HOST=localhost:8080
so that docker-compose will talk with the Podman API service.The text was updated successfully, but these errors were encountered: