TritonDataCenter / sdc-docker

Docker Engine for Triton
Mozilla Public License 2.0
183 stars 49 forks source link

Divergence on `docker cp` #59

Closed cehoffman closed 8 years ago

cehoffman commented 8 years ago

Where files are placed locally when using docker cp differs between official docker and sdc-docker. Here is a table showing where the copied file is placed.

Command Official Docker SDC Docker
docker cp container:/etc/nginx/nginx.conf .` nginx.conf etc/nginx/nginx.conf
docker cp container:/etc/nginx/nginx.conf default.conf` default.conf etc/nginx/default.conf

It appears that SDC Docker includes full directory information when passing the file contents back to the client docker.

orlandov commented 8 years ago

Hi Chris! I just reproduced this, thanks for the heads up. I'll look into this and get a fix out ASAP.