我想添加shell或bash到我的图像以执行安装命令。
我已将/bin/bashVM 上的复制到我的映像上Dockerfile:
COPY /bin/bash /bin/
Run Code Online (Sandbox Code Playgroud)
但是当我执行 docker 命令时:
docker run -it --entrypoint "/bin/bash" <my_image>
Run Code Online (Sandbox Code Playgroud)
然后我收到以下错误:
/bin/bash: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
谢谢你的帮助