docker cp报错有老哥教一下吗
docker吧
全部回复
仅看楼主
level 1
centos 7,
Docker version 19.03.0, build aeac9490dc
镜像是nginx latest 官方镜像
容器启动后执行
docker cp d6fd81f4d98d:/etc/nginx/nginx.conf /root/nginx/conf
报错如下:
Error response from daemon: error processing tar file: docker-tar: relocation error: /lib/x86_64-linux-gnu/libnss_files.so.2: symbol __libc_readline_unlocked, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
: exit status 127
2019年07月25日 08点07分 1
level 1
我也是这个问题,你的解决了没
2019年07月26日 00点07分 2
level 1
Initialize nss libraries in Glibc so that the dynamic libraries are loaded in the host environment not in the chroot from untrusted files.
CVE-2019-14271 may allow unprivileged access to host system while copying files from a malicious container image with docker cp command.
Affected versions: v19.03.0. Older Docker versions are not affected by this issue.
This fix is included in the already released Docker v19.03.1. Users of Docker v19.03.0 are advised to upgrade.
2019年07月27日 06点07分 3
level 1
楼上说得对,我也是升级之后没问题了
2019年07月30日 00点07分 4
1