washjnr.blogg.se

Docker run debian
Docker run debian












Now let’s discuss why our Support Engineers suggest not to set DEBIAN_FRONTEND to noninteractive. Why is DEBIAN_FRONTEND=noninteractive discouraged in Docker files?

docker run debian

Today we’ll discuss why we discourage changing the default value of DEBIAN_FRONTEND. Here at Bobcares, we have seen several such Docker-related queries as part of our Docker Hosting Support for Docker users, web hosts, and online service providers. Setting DEBIAN_FRONTEND to noninteractive is mainly a ‘cosmetic’ change, we highly discourage changing it. Because it is inherited by all images and containers built from the image, effectively changing their behavior. However, setting this environment variable to noninteractive has an adverse effect.

docker run debian

Noninteractive mode is useful when we need zero interaction while installing or upgrading the system via apt. Are you willing to set DEBIAN_FRONTEND=noninteractive in docker so that no question/dialog is asked during apt-get install? Have a look at this blog to know why we discourage it.














Docker run debian