Closed trevor-vaughan closed 3 years ago
I was trying to use this gem with podman and it indicated that the input should be application/x-tar instead of application/json.
podman
application/x-tar
application/json
I referenced the Docker API and it looks like it always expects application/x-tar. when I made the change, everything appeared to work correctly.
https://github.com/swipely/docker-api/blob/1e9b9cc5f0f38dcd54c18189812328bb802d3656/lib/docker/connection.rb#L79
Never mind, this is apparently based on message type.
I was trying to use this gem with
podman
and it indicated that the input should beapplication/x-tar
instead ofapplication/json
.I referenced the Docker API and it looks like it always expects
application/x-tar
. when I made the change, everything appeared to work correctly.https://github.com/swipely/docker-api/blob/1e9b9cc5f0f38dcd54c18189812328bb802d3656/lib/docker/connection.rb#L79