APT - /etc/apt/apt.conf.d/docker-autoremove-suggests

Pulled directly from an unmodified installation.

Quick Actions

๐Ÿ“ฅ Download Original docker-autoremove-suggests

Configuration File Information

Configuration File Content

/etc/apt/apt.conf.d/docker-autoremove-suggests
17 lines
# Since Docker users are looking for the smallest possible final images, the
# following emerges as a very common pattern:

#   RUN apt-get update \
#       && apt-get install -y <packages> \
#       && <do some compilation work> \
#       && apt-get purge -y --auto-remove <packages>

# By default, APT will actually _keep_ packages installed via Recommends or
# Depends if another package Suggests them, even and including if the package
# that originally caused them to be installed is removed.  Setting this to
# "false" ensures that APT is appropriately aggressive about removing the
# packages it added.

# https://aptitude.alioth.debian.org/doc/en/ch02s05s05.html#configApt-AutoRemove-SuggestsImportant
Apt::AutoRemove::SuggestsImportant "false";

        

Download Commands

docker-autoremove-suggests โ€ข

Download the 100% original unaltered configuration file pulled from APT

Using wget:

wget -O docker-autoremove-suggests.example https://exampleconfig.com/api/v1/config/original/e99ea2a4a8db4dd2b5b90a60670d4fe0?hint=docker-autoremove-suggests

Using curl:

curl https://exampleconfig.com/api/v1/config/original/e99ea2a4a8db4dd2b5b90a60670d4fe0?hint=docker-autoremove-suggests > docker-autoremove-suggests.example

Related Configuration Files

Technical Details

File Location
/etc/apt/apt.conf.d/docker-autoremove-suggests
Platform
Linux
File Size
17 lines
Application
APT
Compatible Versions
MD5 Checksum
e99ea2a4a8db4dd2b5b90a60670d4fe0
SHA256 Checksum
84cb100b000873f25f677cf23ab51f841eb490264fa496361591d6071aebf0f4