turnbullpress / dockerbook-code

The code and configuration examples from The Docker Book (http://www.dockerbook.com)
927 stars 581 forks source link

Errors like "debconf: unable to initialize frontend: Dialog" appear if ENV DEBIAN_FRONTEND noninteractive is not set #35

Closed SohamChakraborty closed 7 years ago

SohamChakraborty commented 7 years ago

Hi,

Without using ENV DEBIAN_FRONTEND noninteractive in Dockerfile, the build process spews out messages like:

debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin:

I don't see any Dockerfile with the 'ENV DEBIAN_FRONTEND noninteractive' line. Is this something to include in the Dockerfile, James?

jamtur01 commented 7 years ago

Sure. I don't usually bother as the error is harmless but you can add it if you like.