APT Configuration - Linux
/etc/apt/apt.conf.d/docker-autoremove-suggests
Quick Actions
๐ฅ Download Original docker-autoremove-suggestsConfiguration File Information
Authentic & Original
Unaltered docker-autoremove-suggests from fresh installation.
Linux Distribution Support
๐ Currently viewing: Debian 12 (Bookworm)
โ Also compatible:
Debian 10 (Buster),
Debian 11 (Bullseye),
Debian 9 (Stretch)
โ Different versions:
Debian:
Configuration File Content
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
/etc/apt/apt.conf.d/docker-autoremove-suggests
APT ยท Debian 9 (Stretch)
/etc/apt/apt.conf.d/docker-autoremove-suggests
APT ยท Debian 9 (Stretch)
/etc/apt/apt.conf.d/docker-autoremove-suggests
APT ยท Debian 9 (Stretch)
/etc/apt/apt.conf.d/docker-autoremove-suggests
Apache HTTP Server ยท Debian 12 (Bookworm)
/etc/apt/apt.conf.d/docker-autoremove-suggests
Apache HTTP Server ยท Debian 12 (Bookworm)
/etc/apt/apt.conf.d/docker-autoremove-suggests
Apache HTTP Server ยท Debian 12 (Bookworm)