问题场景 最近遇到一个问题,在dockerfile构建过程中,发现 sh 环境如果想要激活 .bashrc 环境配置 ,需要用点号,而安装的组件用的source命令,这个命令只有bash支持,所以就构建失败了, 因为dockerfile构建默认使用sh,所以造成了这个问题的发生 8 /bin/sh: 1: source: not found sh 和 bash 介绍 bash(Bourne
Ubuntu普通账号切换到root账号运行程序出现了 MoTTY X11 proxy: Unsupported authorisation protocol qt.qpa.screen: QXcbConnection: Could not connect to display localhost:10.0 Could not connect to any X display.的问题解决方法: cp