Skip to content

Instantly share code, notes, and snippets.

@vsoch
Created May 3, 2019 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsoch/d28d9a47b352072fef0591515fa38f4b to your computer and use it in GitHub Desktop.
Save vsoch/d28d9a47b352072fef0591515fa38f4b to your computer and use it in GitHub Desktop.
Container Diff Examples
$ container-diff analyze --type=apt ubuntu:16.04

-----Apt-----

Packages found in ubuntu:16.04:
NAME                        VERSION                              SIZE
-adduser                    3.113 nmu3ubuntu4                    648K
-apt                        1.2.31                               3.4M
-base-files                 9.4ubuntu4.8                         312K
-base-passwd                3.5.39                               219K
-bash                       4.3-14ubuntu1.2                      1.5M
-bsdutils                   1:2.27.1-6ubuntu3.6                  227K
-coreutils                  8.25-2ubuntu3~16.04                  6.1M
-dash                       0.5.8-2.1ubuntu2                     242K
-debconf                    1.5.58ubuntu1                        547K
-debianutils                4.7                                  213K
-diffutils                  1:3.3-3                              416K
-dpkg                       1.18.4ubuntu1.5                      6.5M
-e2fslibs                   1.42.13-1ubuntu1                     389K
-e2fsprogs                  1.42.13-1ubuntu1                     2.9M
-findutils                  4.6.0 git+20160126-2                 560K
-gcc-5-base                 5.4.0-6ubuntu1~16.04.11              66K
-gcc-6-base                 6.0.1-0ubuntu1                       60K
-gnupg                      1.4.20-1ubuntu3.3                    1.6M
-gpgv                       1.4.20-1ubuntu3.3                    431K
-grep                       2.25-1~16.04.1                       472K
-gzip                       1.6-4ubuntu1                         240K
-hostname                   3.16ubuntu2                          50K
-init                       1.29ubuntu4                          16K
-init-system-helpers        1.29ubuntu4                          111K
-initscripts                2.88dsf-59.3ubuntu2                  169K
-insserv                    1.14.0-5ubuntu3                      183K
-libacl1                    2.2.52-3                             57K
-libapparmor1               2.10.95-0ubuntu2.10                  126K
-libapt-pkg5.0              1.2.31                               2.8M
-libattr1                   1:2.4.47-2                           56K
-libaudit-common            1:2.4.5-1ubuntu2.1                   21K
-libaudit1                  1:2.4.5-1ubuntu2.1                   138K
-libblkid1                  2.27.1-6ubuntu3.6                    357K
-libbz2-1.0                 1.0.6-8                              109K
-libc-bin                   2.23-0ubuntu11                       3.4M
-libc6                      2.23-0ubuntu11                       10.7M
-libcap2                    1:2.24-12                            46K
-libcap2-bin                1:2.24-12                            85K
-libcomerr2                 1.42.13-1ubuntu1                     86K
-libcryptsetup4             2:1.6.6-5ubuntu2.1                   219K
-libdb5.3                   5.3.28-11ubuntu0.1                   1.7M
-libdebconfclient0          0.198ubuntu1                         67K
-libdevmapper1.02.1         2:1.02.110-1ubuntu10                 425K
-libfdisk1                  2.27.1-6ubuntu3.6                    449K
-libgcc1                    1:6.0.1-0ubuntu1                     105K
-libgcrypt20                1.6.5-2ubuntu0.5                     968K
-libgpg-error0              1.21-2ubuntu1                        156K
-libkmod2                   22-1ubuntu5.2                        118K
-liblz4-1                   0.0~r131-2ubuntu2                    116K
-liblzma5                   5.1.1alpha 20120614-2ubuntu2         305K
-libmount1                  2.27.1-6ubuntu3.6                    384K
-libncurses5                6.0 20160213-1ubuntu1                281K
-libncursesw5               6.0 20160213-1ubuntu1                345K
-libpam-modules             1.1.8-3.2ubuntu2.1                   919K
-libpam-modules-bin         1.1.8-3.2ubuntu2.1                   271K
-libpam-runtime             1.1.8-3.2ubuntu2.1                   300K
-libpam0g                   1.1.8-3.2ubuntu2.1                   210K
-libpcre3                   2:8.38-3.1                           655K
-libprocps4                 2:3.3.10-4ubuntu2.4                  126K
-libreadline6               6.3-8ubuntu2                         382K
-libseccomp2                2.3.1-2.1ubuntu2~16.04.1             292K
-libselinux1                2.4-3build2                          168K
-libsemanage-common         2.3-1build3                          28K
-libsemanage1               2.3-1build3                          247K
-libsepol1                  2.4-2                                555K
-libsmartcols1              2.27.1-6ubuntu3.6                    236K
-libss2                     1.42.13-1ubuntu1                     98K
-libstdc++6                 5.4.0-6ubuntu1~16.04.11              1.9M
-libsystemd0                229-4ubuntu21.21                     620K
-libtinfo5                  6.0 20160213-1ubuntu1                468K
-libudev1                   229-4ubuntu21.21                     206K
-libusb-0.1-4               2:0.1.12-28                          56K
-libustr-1.0-1              1.0.4-5                              273K
-libuuid1                   2.27.1-6ubuntu3.6                    113K
-login                      1:4.2-3.1ubuntu5.4                   1.2M
-lsb-base                   9.20160110ubuntu0.2                  58K
-makedev                    2.3.1-93ubuntu2~ubuntu16.04.1        96K
-mawk                       1.3.3-17ubuntu2                      197K
-mount                      2.27.1-6ubuntu3.6                    411K
-multiarch-support          2.23-0ubuntu11                       224K
-ncurses-base               6.0 20160213-1ubuntu1                336K
-ncurses-bin                6.0 20160213-1ubuntu1                514K
-passwd                     1:4.2-3.1ubuntu5.4                   2.3M
-perl-base                  5.22.1-9ubuntu0.6                    6.9M
-procps                     2:3.3.10-4ubuntu2.4                  676K
-readline-common            6.3-8ubuntu2                         76K
-sed                        4.2.2-7                              304K
-sensible-utils             0.0.9ubuntu0.16.04.1                 62K
-systemd                    229-4ubuntu21.21                     18.5M
-systemd-sysv               229-4ubuntu21.21                     95K
-sysv-rc                    2.88dsf-59.3ubuntu2                  127K
-sysvinit-utils             2.88dsf-59.3ubuntu2                  124K
-tar                        1.28-2.1ubuntu0.1                    804K
-ubuntu-keyring             2012.05.19                           46K
-util-linux                 2.27.1-6ubuntu3.6                    3.2M
-zlib1g                     1:1.2.8.dfsg-2ubuntu4.1              156K
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment