「bash: cannot set terminal process group (-1): Inappropriate ioctl for device」の警告が表示された

ショコラ
ショコラ

「bash: cannot set terminal process group (-1): Inappropriate ioctl for device」の警告が表示された

docker run、docker exec に「-t」オプションでキメマス。

もっさん先輩
もっさん先輩
docker run -t ubuntu:latest bash -i -c 'exit'

シチュエーション

bash の設定ファイルを読み込む為、「bash -i」コマンドを実行すると以下の警告が表示された。

docker run ubuntu:latest bash -i -c 'exit'
$ docker run ubuntu:latest bash -i -c 'exit'
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
exit
Scroll to Top