CrunchyData / crunchy-containers

Containers for Managing PostgreSQL on Kubernetes by Crunchy Data
https://www.crunchydata.com/
Apache License 2.0
1.01k stars 328 forks source link

ERRO Can't add file /var/lib/containers/storage/overlay/.... to tar: archive/tar: sockets not supported #1465

Open alokhom opened 2 years ago

alokhom commented 2 years ago

Describe the bug i am referring to the guide in this page. link When running make postgres i am facing the ERRO Can't add file issue.

[test@rhel7 crunchy-containers]$ make postgres
go build -o bin/pgbackrest/pgbackrest ./cmd/pgbackrest
./bin/license_aggregator.sh
sudo --preserve-env buildah bud --layers  \
        -f /home/gitlab/cdev/src/github.com/crunchydata/crunchy-containers/build/base/Dockerfile \
        -t alokhom/crunchydata/crunchy-base:ubi8-12.11-5.1.2-0 \
        --build-arg BASEOS=ubi8 \
        --build-arg RELVER=5.1.2-0 \
        --build-arg DFSET=rhel \
        --build-arg PACKAGER=microdnf \
        --build-arg DOCKERBASEREGISTRY=registry.access.redhat.com/ \
        --build-arg BASE_IMAGE_OS=ubi8-minimal \
        --build-arg PG_LBL=12 \
        /home/gitlab/cdev/src/github.com/crunchydata/crunchy-containers
STEP 1: FROM registry.access.redhat.com/ubi8-minimal
STEP 2: ARG BASEOS
--> Using cache 6fe02227178ee4b6ea0754dc1b141ae8c1400b128585c45a2a0048accdec5eea
STEP 3: ARG RELVER
--> Using cache 804bb1774256e4e34b77fae1f467a3ca6290f410cefac937d1e0edfcb62dcf5a
STEP 4: ARG DFSET
--> Using cache 6f87addc856a286bee2289a02bda49c3a2ebf1737c33094f7a6aa537a732354a
STEP 5: ARG PACKAGER
--> Using cache 5b9932d939df4396961ccacd36b1cf717f28cca0ce5ff030979d2caef962e352
STEP 6: ARG PG_LBL
--> Using cache 9690f1b574774f10bc0475c6cf152a3f8ea1168fb4125d12620f8463b985abe3
STEP 7: MAINTAINER Crunchy Data <info@crunchydata.com>
--> Using cache 001f544e3e4b9461498b2c7cc9957bd7378914671cd6d620e7bbeac1111aa701
STEP 8: LABEL vendor="Crunchy Data"     url="https://crunchydata.com"   release="${RELVER}"     org.opencontainers.image.vendor="Crunchy Data"  os.version="7.7"
--> Using cache 6c9aa83a7318b63174a7dfdd111112bb8ce82593762cbf23a4f254b83b521753
STEP 9: COPY redhat/atomic/help.1 /help.1
--> Using cache 3f13dab05061a045cbecc8307db7b24afa12fc50a1bb772649b182f1db72e6bc
STEP 10: COPY redhat/atomic/help.md /help.md
--> Using cache 0fd29053020f3c186d3bfc28fb69892ac38a4cf4603ac7784bc5c2a4a65c968c
STEP 11: COPY licenses /licenses
db0b86b79088df76d3b4794c45317fb1ce2960e8e3991ea8154af8b440101873
STEP 12: RUN if [ "$BASEOS" = "ubi8" ] ; then         ${PACKAGER} -y update --nodocs         && ${PACKAGER} -y install --nodocs                 glibc-langpack-en ; fi
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Nothing to do.
Package                                                                                                                                                                                                              Repository                                                                            Size
Installing:                                                                                                                                                                                                                                                                                                    
 glibc-langpack-en-2.28-189.5.el8_6.x86_64                                                                                                                                                                           ubi-8-baseos                                                                      854.3 kB
Transaction Summary:
 Installing:        1 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Installing: glibc-langpack-en;2.28-189.5.el8_6;x86_64;ubi-8-baseos
Complete.
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported 
ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported 
dfdf927958300a4728dd003a990e95bdfa880b6b270904dfc21c168ef4045cec
STEP 13: RUN if [ "$BASEOS" = "ubi8" ] ; then         echo "[postgresql]"  >> /etc/dnf/modules.d/postgresql.module         && echo "name=postgresql"  >> /etc/dnf/modules.d/postgresql.module         && echo "stream=10"  >> /etc/dnf/modules.d/postgresql.module         && echo "profiles="  >> /etc/dnf/modules.d/postgresql.module         && echo "state=disabled"  >> /etc/dnf/modules.d/postgresql.module ; fi
01edbb025b35b29ac31680f6950899ef4d2c840e7353cc3a2952e93e1f8c25ed
STEP 14: ENV LC_ALL en_US.utf-8
0d19940139ac13dfd4a6f4578d433db5cecd278cbf1207713a6fd0c095b193ba
STEP 15: ENV LANG en_US.utf-8
5ffb4157cca6a95e98595bb2e30a3c03eb6fa780cc488d00fac4365b6e8ba347
STEP 16: ARG EPEL8_RPM=https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dc92c3349fa9466aebae98cb01e21c1d5df2c7c4947f99b6a85ce6ba7edffac2
STEP 17: RUN if [ "$BASEOS" = "ubi8" ] ; then         rpm -ivh ${EPEL8_RPM}         && ${PACKAGER} -y install --nodocs                 bind-utils                 gettext                 hostname                 procps-ng                 nss_wrapper                 less                 vim-minimal         && ${PACKAGER} reinstall tzdata -y --nodocs         && sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/epel*.repo         && ${PACKAGER} -y clean all ; fi
Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
warning: /var/tmp/rpm-tmp.uUholL: Header V4 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:epel-release-8-16.el8            ################################# [100%]
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
Downloading metadata...
Downloading metadata...
Package                                                                                                                                                                                                              Repository                                                                            Size
Installing:                                                                                                                                                                                                                                                                                                    
 bind-libs-32:9.11.36-3.el8.x86_64                                                                                                                                                                                   ubi-8-appstream                                                                   178.9 kB
 bind-libs-lite-32:9.11.36-3.el8.x86_64                                                                                                                                                                              ubi-8-appstream                                                                     1.2 MB
 bind-license-32:9.11.36-3.el8.noarch                                                                                                                                                                                ubi-8-appstream                                                                   105.5 kB
 bind-utils-32:9.11.36-3.el8.x86_64                                                                                                                                                                                  ubi-8-appstream                                                                   462.2 kB
 cmake-3.20.2-4.el8.x86_64                                                                                                                                                                                           ubi-8-appstream                                                                    12.4 MB
 cmake-data-3.20.2-4.el8.noarch                                                                                                                                                                                      ubi-8-appstream                                                                     1.8 MB
 cmake-filesystem-3.20.2-4.el8.x86_64                                                                                                                                                                                ubi-8-appstream                                                                    45.6 kB
 cmake-rpm-macros-3.20.2-4.el8.noarch                                                                                                                                                                                ubi-8-appstream                                                                    44.9 kB
 emacs-filesystem-1:26.1-7.el8.noarch                                                                                                                                                                                ubi-8-baseos                                                                       71.3 kB
 expat-2.2.5-8.el8_6.2.x86_64                                                                                                                                                                                        ubi-8-baseos                                                                      116.1 kB
 fstrm-0.6.1-2.el8.x86_64                                                                                                                                                                                            ubi-8-appstream                                                                    29.7 kB
 gdbm-1:1.18-1.el8.x86_64                                                                                                                                                                                            ubi-8-baseos                                                                      132.9 kB
 gdbm-libs-1:1.18-1.el8.x86_64                                                                                                                                                                                       ubi-8-baseos                                                                       62.0 kB
 geolite2-city-20180605-1.el8.noarch                                                                                                                                                                                 ubi-8-appstream                                                                    19.9 MB
 geolite2-country-20180605-1.el8.noarch                                                                                                                                                                              ubi-8-appstream                                                                     1.1 MB
 gettext-0.19.8.1-17.el8.x86_64                                                                                                                                                                                      ubi-8-baseos                                                                        1.1 MB
 gettext-libs-0.19.8.1-17.el8.x86_64                                                                                                                                                                                 ubi-8-baseos                                                                      320.2 kB
 groff-base-1.22.3-18.el8.x86_64                                                                                                                                                                                     ubi-8-baseos                                                                        1.1 MB
 hostname-3.20-6.el8.x86_64                                                                                                                                                                                          ubi-8-baseos                                                                       32.7 kB
 less-530-1.el8.x86_64                                                                                                                                                                                               ubi-8-baseos                                                                      168.1 kB
 libcroco-0.6.12-4.el8_2.1.x86_64                                                                                                                                                                                    ubi-8-baseos                                                                      115.3 kB
 libgomp-8.5.0-10.1.el8_6.x86_64                                                                                                                                                                                     ubi-8-baseos                                                                      211.7 kB
 libmaxminddb-1.2.0-10.el8.x86_64                                                                                                                                                                                    ubi-8-appstream                                                                    34.0 kB
 libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64                                                                                                                                                                       ubi-8-baseos                                                                       59.1 kB
 libpkgconf-1.4.2-1.el8.x86_64                                                                                                                                                                                       ubi-8-baseos                                                                       35.6 kB
 libtirpc-1.1.4-6.el8.x86_64                                                                                                                                                                                         ubi-8-baseos                                                                      115.3 kB
 libuv-1:1.41.1-1.el8_4.x86_64                                                                                                                                                                                       ubi-8-appstream                                                                   160.0 kB
 make-1:4.2.1-11.el8.x86_64                                                                                                                                                                                          ubi-8-baseos                                                                      509.8 kB
 ncurses-6.1-9.20180224.el8.x86_64                                                                                                                                                                                   ubi-8-baseos                                                                      396.4 kB
 nss_wrapper-1.1.5-3.el8.x86_64                                                                                                                                                                                      ubi-8-appstream                                                                    44.4 kB
 openssl-1:1.1.1k-6.el8_5.x86_64                                                                                                                                                                                     ubi-8-baseos                                                                      725.9 kB
 perl-Carp-1.42-396.el8.noarch                                                                                                                                                                                       ubi-8-baseos                                                                       30.9 kB
 perl-Data-Dumper-2.167-399.el8.x86_64                                                                                                                                                                               ubi-8-baseos                                                                       59.4 kB
 perl-Digest-1.17-395.el8.noarch                                                                                                                                                                                     ubi-8-appstream                                                                    27.6 kB
 perl-Digest-MD5-2.55-396.el8.x86_64                                                                                                                                                                                 ubi-8-appstream                                                                    37.9 kB
 perl-Encode-4:2.97-3.el8.x86_64                                                                                                                                                                                     ubi-8-baseos                                                                        1.5 MB
 perl-Errno-1.28-421.el8.x86_64                                                                                                                                                                                      ubi-8-baseos                                                                       78.2 kB
 perl-Exporter-5.72-396.el8.noarch                                                                                                                                                                                   ubi-8-baseos                                                                       34.8 kB
 perl-File-Path-2.15-2.el8.noarch                                                                                                                                                                                    ubi-8-baseos                                                                       39.0 kB
 perl-File-Temp-0.230.600-1.el8.noarch                                                                                                                                                                               ubi-8-baseos                                                                       64.1 kB
 perl-Getopt-Long-1:2.50-4.el8.noarch                                                                                                                                                                                ubi-8-baseos                                                                       64.5 kB
 perl-HTTP-Tiny-0.074-1.el8.noarch                                                                                                                                                                                   ubi-8-baseos                                                                       59.6 kB
 perl-IO-1.38-421.el8.x86_64                                                                                                                                                                                         ubi-8-baseos                                                                      145.6 kB
 perl-IO-Socket-IP-0.39-5.el8.noarch                                                                                                                                                                                 ubi-8-appstream                                                                    48.0 kB
 perl-IO-Socket-SSL-2.066-4.module+el8.3.0+6446+594cad75.noarch                                                                                                                                                      ubi-8-appstream                                                                   304.8 kB
 perl-MIME-Base64-3.15-396.el8.x86_64                                                                                                                                                                                ubi-8-baseos                                                                       31.4 kB
 perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9eecfe51.noarch                                                                                                                                                      ubi-8-appstream                                                                    15.8 kB
 perl-Net-SSLeay-1.88-2.module+el8.6.0+13392+f0897f98.x86_64                                                                                                                                                         ubi-8-appstream                                                                   388.3 kB
 perl-PathTools-3.74-1.el8.x86_64                                                                                                                                                                                    ubi-8-baseos                                                                       92.2 kB
 perl-Pod-Escapes-1:1.07-395.el8.noarch                                                                                                                                                                              ubi-8-baseos                                                                       21.0 kB
 perl-Pod-Perldoc-3.28-396.el8.noarch                                                                                                                                                                                ubi-8-baseos                                                                       90.2 kB
 perl-Pod-Simple-1:3.35-395.el8.noarch                                                                                                                                                                               ubi-8-baseos                                                                      218.3 kB
 perl-Pod-Usage-4:1.69-395.el8.noarch                                                                                                                                                                                ubi-8-baseos                                                                       35.3 kB
 perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                                                                                                                                          ubi-8-baseos                                                                       69.4 kB
 perl-Socket-4:2.027-3.el8.x86_64                                                                                                                                                                                    ubi-8-baseos                                                                       60.2 kB
 perl-Storable-1:3.11-3.el8.x86_64                                                                                                                                                                                   ubi-8-baseos                                                                      100.7 kB
 perl-Term-ANSIColor-4.06-396.el8.noarch                                                                                                                                                                             ubi-8-baseos                                                                       47.1 kB
 perl-Term-Cap-1.17-395.el8.noarch                                                                                                                                                                                   ubi-8-baseos                                                                       23.4 kB
 perl-Text-ParseWords-3.30-395.el8.noarch                                                                                                                                                                            ubi-8-baseos                                                                       18.4 kB
 perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                                                                                                                                                        ubi-8-baseos                                                                       24.7 kB
 perl-Time-Local-1:1.280-1.el8.noarch                                                                                                                                                                                ubi-8-baseos                                                                       34.3 kB
 perl-URI-1.73-3.el8.noarch                                                                                                                                                                                          ubi-8-appstream                                                                   118.9 kB
 perl-Unicode-Normalize-1.25-396.el8.x86_64                                                                                                                                                                          ubi-8-baseos                                                                       83.8 kB
 perl-constant-1.33-396.el8.noarch                                                                                                                                                                                   ubi-8-baseos                                                                       26.0 kB
 perl-interpreter-4:5.26.3-421.el8.x86_64                                                                                                                                                                            ubi-8-baseos                                                                        6.6 MB
 perl-libnet-3.11-3.el8.noarch                                                                                                                                                                                       ubi-8-appstream                                                                   123.8 kB
 perl-libs-4:5.26.3-421.el8.x86_64                                                                                                                                                                                   ubi-8-baseos                                                                        1.6 MB
 perl-macros-4:5.26.3-421.el8.x86_64                                                                                                                                                                                 ubi-8-baseos                                                                       74.1 kB
 perl-parent-1:0.237-1.el8.noarch                                                                                                                                                                                    ubi-8-baseos                                                                       20.5 kB
 perl-podlators-4.11-1.el8.noarch                                                                                                                                                                                    ubi-8-baseos                                                                      120.8 kB
 perl-threads-1:2.21-2.el8.x86_64                                                                                                                                                                                    ubi-8-baseos                                                                       62.7 kB
 perl-threads-shared-1.58-2.el8.x86_64                                                                                                                                                                               ubi-8-baseos                                                                       48.8 kB
 pkgconf-1.4.2-1.el8.x86_64                                                                                                                                                                                          ubi-8-baseos                                                                       39.0 kB
 pkgconf-m4-1.4.2-1.el8.noarch                                                                                                                                                                                       ubi-8-baseos                                                                       17.5 kB
 pkgconf-pkg-config-1.4.2-1.el8.x86_64                                                                                                                                                                               ubi-8-baseos                                                                       15.6 kB
 platform-python-3.6.8-45.el8.x86_64                                                                                                                                                                                 ubi-8-baseos                                                                       87.5 kB
 platform-python-pip-9.0.3-22.el8.noarch                                                                                                                                                                             ubi-8-baseos                                                                        1.7 MB
 platform-python-setuptools-39.2.0-6.el8.noarch                                                                                                                                                                      ubi-8-baseos                                                                      647.5 kB
 procps-ng-3.3.15-6.el8.x86_64                                                                                                                                                                                       ubi-8-baseos                                                                      336.8 kB
 protobuf-c-1.3.0-6.el8.x86_64                                                                                                                                                                                       ubi-8-appstream                                                                    37.9 kB
 python3-bind-32:9.11.36-3.el8.noarch                                                                                                                                                                                ubi-8-appstream                                                                   154.0 kB
 python3-libs-3.6.8-45.el8.x86_64                                                                                                                                                                                    ubi-8-baseos                                                                        8.2 MB
 python3-pip-wheel-9.0.3-22.el8.noarch                                                                                                                                                                               ubi-8-baseos                                                                      916.3 kB
 python3-ply-3.9-9.el8.noarch                                                                                                                                                                                        ubi-8-baseos                                                                      113.9 kB
 python3-setuptools-wheel-39.2.0-6.el8.noarch                                                                                                                                                                        ubi-8-baseos                                                                      295.8 kB
 vim-filesystem-2:8.0.1763-19.el8_6.2.noarch                                                                                                                                                                         ubi-8-appstream                                                                    51.3 kB
 vim-minimal-2:8.0.1763-19.el8_6.2.x86_64                                                                                                                                                                            ubi-8-baseos                                                                      588.4 kB
Transaction Summary:
 Installing:       87 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Enabling module streams:
    perl-IO-Socket-SSL:2.066
    perl-libwww-perl:6.34

Downloading packages...
Running transaction test...
Installing: protobuf-c;1.3.0-6.el8;x86_64;ubi-8-appstream
Installing: bind-license;32:9.11.36-3.el8;noarch;ubi-8-appstream
Installing: cmake-filesystem;3.20.2-4.el8;x86_64;ubi-8-appstream
Installing: fstrm;0.6.1-2.el8;x86_64;ubi-8-appstream
Installing: gdbm-libs;1:1.18-1.el8;x86_64;ubi-8-baseos
Installing: libgomp;8.5.0-10.1.el8_6;x86_64;ubi-8-baseos
Installing: libtirpc;1.1.4-6.el8;x86_64;ubi-8-baseos
Installing: expat;2.2.5-8.el8_6.2;x86_64;ubi-8-baseos
Installing: python3-pip-wheel;9.0.3-22.el8;noarch;ubi-8-baseos
Installing: python3-setuptools-wheel;39.2.0-6.el8;noarch;ubi-8-baseos
Installing: libcroco;0.6.12-4.el8_2.1;x86_64;ubi-8-baseos
Installing: gettext-libs;0.19.8.1-17.el8;x86_64;ubi-8-baseos
Installing: libnsl2;1.2.0-2.20180605git4a062cf.el8;x86_64;ubi-8-baseos
Installing: gdbm;1:1.18-1.el8;x86_64;ubi-8-baseos
Installing: platform-python-setuptools;39.2.0-6.el8;noarch;ubi-8-baseos
Installing: python3-libs;3.6.8-45.el8;x86_64;ubi-8-baseos
Installing: platform-python;3.6.8-45.el8;x86_64;ubi-8-baseos
Installing: platform-python-pip;9.0.3-22.el8;noarch;ubi-8-baseos
Installing: cmake-rpm-macros;3.20.2-4.el8;noarch;ubi-8-appstream
Installing: python3-ply;3.9-9.el8;noarch;ubi-8-baseos
Installing: python3-bind;32:9.11.36-3.el8;noarch;ubi-8-appstream
Installing: vim-filesystem;2:8.0.1763-19.el8_6.2;noarch;ubi-8-appstream
Installing: libuv;1:1.41.1-1.el8_4;x86_64;ubi-8-appstream
Installing: geolite2-country;20180605-1.el8;noarch;ubi-8-appstream
Installing: geolite2-city;20180605-1.el8;noarch;ubi-8-appstream
Installing: libmaxminddb;1.2.0-10.el8;x86_64;ubi-8-appstream
Installing: bind-libs-lite;32:9.11.36-3.el8;x86_64;ubi-8-appstream
Installing: bind-libs;32:9.11.36-3.el8;x86_64;ubi-8-appstream
Installing: ncurses;6.1-9.20180224.el8;x86_64;ubi-8-baseos
Installing: openssl;1:1.1.1k-6.el8_5;x86_64;ubi-8-baseos
Installing: groff-base;1.22.3-18.el8;x86_64;ubi-8-baseos
Installing: perl-Digest;1.17-395.el8;noarch;ubi-8-appstream
Installing: perl-Digest-MD5;2.55-396.el8;x86_64;ubi-8-appstream
Installing: perl-Data-Dumper;2.167-399.el8;x86_64;ubi-8-baseos
Installing: perl-libnet;3.11-3.el8;noarch;ubi-8-appstream
Installing: perl-Net-SSLeay;1.88-2.module+el8.6.0+13392+f0897f98;x86_64;ubi-8-appstream
Installing: perl-URI;1.73-3.el8;noarch;ubi-8-appstream
Installing: perl-Pod-Escapes;1:1.07-395.el8;noarch;ubi-8-baseos
Installing: perl-Time-Local;1:1.280-1.el8;noarch;ubi-8-baseos
Installing: perl-Mozilla-CA;20160104-7.module+el8.3.0+6498+9eecfe51;noarch;ubi-8-appstream
Installing: perl-IO-Socket-IP;0.39-5.el8;noarch;ubi-8-appstream
Installing: perl-IO-Socket-SSL;2.066-4.module+el8.3.0+6446+594cad75;noarch;ubi-8-appstream
Installing: perl-Term-ANSIColor;4.06-396.el8;noarch;ubi-8-baseos
Installing: perl-Pod-Simple;1:3.35-395.el8;noarch;ubi-8-baseos
Installing: perl-Term-Cap;1.17-395.el8;noarch;ubi-8-baseos
Installing: perl-File-Temp;0.230.600-1.el8;noarch;ubi-8-baseos
Installing: perl-HTTP-Tiny;0.074-1.el8;noarch;ubi-8-baseos
Installing: perl-podlators;4.11-1.el8;noarch;ubi-8-baseos
Installing: perl-Pod-Perldoc;3.28-396.el8;noarch;ubi-8-baseos
Installing: perl-Text-ParseWords;3.30-395.el8;noarch;ubi-8-baseos
Installing: perl-Pod-Usage;4:1.69-395.el8;noarch;ubi-8-baseos
Installing: perl-Storable;1:3.11-3.el8;x86_64;ubi-8-baseos
Installing: perl-MIME-Base64;3.15-396.el8;x86_64;ubi-8-baseos
Installing: perl-Getopt-Long;1:2.50-4.el8;noarch;ubi-8-baseos
Installing: perl-Socket;4:2.027-3.el8;x86_64;ubi-8-baseos
Installing: perl-Errno;1.28-421.el8;x86_64;ubi-8-baseos
Installing: perl-Encode;4:2.97-3.el8;x86_64;ubi-8-baseos
Installing: perl-parent;1:0.237-1.el8;noarch;ubi-8-baseos
Installing: perl-Carp;1.42-396.el8;noarch;ubi-8-baseos
Installing: perl-Exporter;5.72-396.el8;noarch;ubi-8-baseos
Installing: perl-libs;4:5.26.3-421.el8;x86_64;ubi-8-baseos
Installing: perl-Scalar-List-Utils;3:1.49-2.el8;x86_64;ubi-8-baseos
Installing: perl-macros;4:5.26.3-421.el8;x86_64;ubi-8-baseos
Installing: perl-threads-shared;1.58-2.el8;x86_64;ubi-8-baseos
Installing: perl-threads;1:2.21-2.el8;x86_64;ubi-8-baseos
Installing: perl-Text-Tabs+Wrap;2013.0523-395.el8;noarch;ubi-8-baseos
Installing: perl-Unicode-Normalize;1.25-396.el8;x86_64;ubi-8-baseos
Installing: perl-File-Path;2.15-2.el8;noarch;ubi-8-baseos
Installing: perl-PathTools;3.74-1.el8;x86_64;ubi-8-baseos
Installing: perl-constant;1.33-396.el8;noarch;ubi-8-baseos
Installing: perl-IO;1.38-421.el8;x86_64;ubi-8-baseos
Installing: perl-interpreter;4:5.26.3-421.el8;x86_64;ubi-8-baseos
Installing: emacs-filesystem;1:26.1-7.el8;noarch;ubi-8-baseos
Installing: pkgconf-m4;1.4.2-1.el8;noarch;ubi-8-baseos
Installing: make;1:4.2.1-11.el8;x86_64;ubi-8-baseos
Installing: cmake-data;3.20.2-4.el8;noarch;ubi-8-appstream
Installing: cmake;3.20.2-4.el8;x86_64;ubi-8-appstream
Installing: libpkgconf;1.4.2-1.el8;x86_64;ubi-8-baseos
Installing: pkgconf;1.4.2-1.el8;x86_64;ubi-8-baseos
Installing: pkgconf-pkg-config;1.4.2-1.el8;x86_64;ubi-8-baseos
Installing: nss_wrapper;1.1.5-3.el8;x86_64;ubi-8-appstream
Installing: bind-utils;32:9.11.36-3.el8;x86_64;ubi-8-appstream
Installing: gettext;0.19.8.1-17.el8;x86_64;ubi-8-baseos
install-info: No such file or directory for /usr/share/info/gettext.info.gz
Installing: hostname;3.20-6.el8;x86_64;ubi-8-baseos
Installing: vim-minimal;2:8.0.1763-19.el8_6.2;x86_64;ubi-8-baseos
Installing: procps-ng;3.3.15-6.el8;x86_64;ubi-8-baseos
Installing: less;530-1.el8;x86_64;ubi-8-baseos
Complete.
Package                                                                                                                                                                                                              Repository                                                                            Size
Reinstalling:                                                                                                                                                                                                                                                                                                  
 tzdata-2022a-1.el8.noarch                                                                                                                                                                                           ubi-8-baseos                                                                      485.3 kB
   replacing tzdata-2022a-1.el8.noarch                                                                                                                                                                                                                                                                         
Transaction Summary:
 Installing:        0 packages
 Reinstalling:      1 packages
 Upgrading:         0 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Reinstalling: tzdata;2022a-1.el8;noarch;ubi-8-baseos
Complete.
Complete.
5854a3d2e9e7afebf996da113c37bc4daa5175a837cc4f3d638c6034b97017ca
STEP 18: RUN if [ "$BASEOS" = "centos8" ] ; then        ${PACKAGER} -y update --nodocs  && ${PACKAGER} -y install               --setopt=skip_missing_names_on_install=False            --nodocs                epel-release            glibc-langpack-en               bind-utils              gettext       hostname                 procps-ng               nss_wrapper     && ${PACKAGER} -y clean all ; fi
27165fcacad8cf1d8dfc9e62b821128c22abc493f195046fe6310102fda5d49a
STEP 19: ADD conf/*KEY* /
0016d258edfaa6fb4b745e42181a23d1ffc656991b61875472cec4a49b5e62ed
STEP 20: ADD conf/crunchypg${PG_LBL}.repo /etc/yum.repos.d/
1d20e6f86663d7fd49c04788107be205ad76c58dde833656bcc542d7ec932a64
STEP 21: RUN rpm --import RPM-GPG-KEY-crunchydata*
93c2eb3aa536c1fffa969d34bb162131f9174d6ea6ffa6e3f2ad33b9adf226e4
STEP 22: RUN if [ "$DFSET" = "rhel" ] ; then rpm --import CRUNCHY-GPG-KEY.public ; fi
error: CRUNCHY-GPG-KEY.public: import read failed(2).
error building at STEP "RUN if [ "$DFSET" = "rhel" ] ; then rpm --import CRUNCHY-GPG-KEY.public ; fi": error while running runtime: exit status 1
make: *** [ccbase-image-build] Error 1
[gitlab@rhel7 crunchy-containers]$ 

To Reproduce Steps to reproduce the behavior:

  1. follwed all the steps as recommended
    
    $ docker info
    Client:
    Context:    default
    Debug Mode: false
    Plugins:
    app: Docker App (Docker Inc., v0.9.1-beta3)
    buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
    scan: Docker Scan (Docker Inc., v0.17.0)

Server: Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 1 Server Version: 20.10.17 Storage Driver: overlay2 Backing Filesystem: xfs Supports d_type: true Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: cgroupfs Cgroup Version: 1 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2 Default Runtime: runc Init Binary: docker-init containerd version: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1 runc version: v1.1.2-0-ga916309 init version: de40ad0 Security Options: seccomp Profile: default Kernel Version: 3.10.0-1160.71.1.el7.x86_64 Operating System: Red Hat Enterprise Linux OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 3.697GiB Name: rhel7 ID: FTYS:2WSZ:PBIY:4STE:45IL:6MS6:UCOC:ULVM:AIP6:YQWQ:E3SK:TSXS Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

$ buildah version Version: 1.11.6 Go Version: go1.12.12 Image Spec: 1.0.1-dev Runtime Spec: 1.0.1-dev CNI Spec: 0.4.0 libcni Version:
image Version: 5.0.0 Git Commit:
Built: Thu Jan 1 00:00:00 1970 OS/Arch: linux/amd64

info in ~/.bashrc export GOPATH=$HOME/cdev # set path to your new Go workspace export GOBIN=$GOPATH/bin # set bin path export PATH=$PATH:$GOBIN # add Go bin path to your overall path export CCP_BASEOS=ubi8 # ubi8 for Red Hat Universal Base Image export CCP_PGVERSION=12 # The PostgreSQL major version export CCP_PG_FULLVERSION=12.11 export CCP_POSTGIS_VERSION=3.2 export CCP_VERSION=5.1.2-0 export CCP_IMAGE_PREFIX=xxxx/crunchydata # Prefix to put before all the container image names export CCP_IMAGE_TAG=$CCP_BASEOS-$CCP_PG_FULLVERSION-$CCP_VERSION # Used to tag the images export CCP_POSTGIS_IMAGE_TAG=$CCP_BASEOS-$CCP_PG_FULLVERSION-$CCP_POSTGIS_VERSION-$CCP_VERSION # Used to tag images that include PostGIS export CCPROOT=$GOPATH/src/github.com/crunchydata/crunchy-containers # The base of the clone github repo


**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Please tell us about your environment:**

* Operating System:

$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.9 (Maipo)

* Where is this running ( Local, Cloud Provider)
google rhel7 vm
* Storage being used (NFS, Hostpath, Gluster, etc):
Nothing specific mentioned here. [link](https://github.com/CrunchyData/crunchy-containers/blob/45aed8b1328aec2a4823d01ee6f20df1f991ff31/docs/content/contributing/building.md)

* Container Image Tag:

export CCP_BASEOS=ubi8 # ubi8 for Red Hat Universal Base Image export CCP_PGVERSION=12 # The PostgreSQL major version export CCP_PG_FULLVERSION=12.11 export CCP_POSTGIS_VERSION=3.2 export CCP_VERSION=5.1.2-0 export CCP_IMAGE_PREFIX=xxxx/crunchydata # Prefix to put before all the container image names export CCP_IMAGE_TAG=$CCP_BASEOS-$CCP_PG_FULLVERSION-$CCP_VERSION # Used to tag the images export CCP_POSTGIS_IMAGE_TAG=$CCP_BASEOS-$CCP_PG_FULLVERSION-$CCP_POSTGIS_VERSION-$CCP_VERSION # Used to tag images that include PostGIS

* PostgreSQL Version:
12

* Platform (Docker, Kubernetes, OpenShift):
docker and just building images. 
kubernetes is the plan. 
* Platform Version:
v1.23
**Additional context**
not sure why the i get to see 

ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-appstream-rpms-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/rhel-8-for-x86_64-baseos-rpms-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-appstream-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-baseos-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent.browser to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent.extra to tar: archive/tar: sockets not supported ERRO Can't add file /var/lib/containers/storage/overlay/a97fa2ffc3c85ca5305f0abc8b96672b38c264ad90b701ac6200578928f02cc8/diff/var/cache/yum/metadata/ubi-8-codeready-builder-8-x86_64/gpgdir/S.gpg-agent.ssh to tar: archive/tar: sockets not supported