小编sam*_*sam的帖子

如何在 dockerfile 中重新加载 .bashrc

我在 Dockerfile 中的 .bashrc 中添加了很多东西,这是执行一些我想稍后在 Dockerfile 中运行的命令所必需的,
我厌倦了source .bashrc它不起作用。
我尝试使用,RUN /bin/bash -c --login ...但出现错误:mesg: ttyname failed: inappropriate ioctl for device

bash docker dockerfile

8
推荐指数
1
解决办法
6465
查看次数

标签 统计

bash ×1

docker ×1

dockerfile ×1