1

我正在尝试在 Windows 7 上的 docker 容器中执行 shell 脚本,但看到以下错误:

ln: failed to create symbolic link '/lib/tcl8.5': Protocol error

ln: failed to create hard link 'libpython2.7.so' => 'libpython2.7.so.1.0': Operation not permitted

这是 shell 脚本中给出错误的命令:

root@57856515e02b:/artifacts/test/install/lib# ln -s /usr/share/tcltk/tcl8.5 /artifacts/test/install/lib/
ln: failed to create symbolic link '/artifacts/test/install/lib/tcl8.5': Protocol error

当我在 linux 上的 docker 容器中运行这个 shell 脚本时,我看不到这些问题。

$ docker --version
Docker version 17.03.1-ce, build c6d412e

有人可以让我知道如何解决这个问题吗?

4

0 回答 0