未能在Windows 7上的docker中创build符号/硬链接
我试图在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
有人可以让我知道我该如何解决这个问题?