以下の内容はhttps://anton0825.hatenablog.com/entry/2017/06/29/000000より取得しました。


docker composeファイルで定義している環境変数がsshでログインした時に設定されてない

以下のようにdocker composeファイル内で printenv | grep -v "HOME" >> /etc/environment を実行すればよい。

    command: >
      bash -c '/usr/sbin/sshd && /bin/bash'
      /usr/sbin/sshd && printenv | grep -v "HOME" >> /etc/environment && /bin/bash'

参考:

stackoverflow.com




以上の内容はhttps://anton0825.hatenablog.com/entry/2017/06/29/000000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14