Foreman installation on Docker: "stty: standard input: Inappropriate ioctl for device"

Related discussions that give some hints: