vmware / vic

vSphere Integrated Containers Engine is a container runtime for vSphere.
http://vmware.github.io/vic
Other
640 stars 174 forks source link

docker cp lacks support for xz encoded streams #6939

Open gigawhitlocks opened 6 years ago

gigawhitlocks commented 6 years ago

Native docker cp has support for xz and gz compressed streams. With VIC 1.3RC2, gz files work but xz fails:

user@ubuntu:~/GWT-Penetration-Testing-Toolset$ cat archive.tar.xz | sudo docker -H 10.161.119.93:2376 --tls cp - 25aa5b0f04492725bc3e03d40f980d70a0ff1cca6878a64b427a180053493917:/
Error response from daemon: Stream format not recognized

For parity with Docker this support needs to be implemented.

anchal-agrawal commented 6 years ago

Not Ready items should have assignee(s) - assigning to the reporter for now.

gigawhitlocks commented 6 years ago

See bz 1994971 update 16 for information regarding potential security implications of this change, before beginning implementation