docker compose exec container_name-it {container_name} bash
-iオプション ... インタラクティブ -tオプション ... TTYプロセス
-i
-t