Corriendo:
docker run -it ubuntu:22.04 /bin/bash apt update
falla con:
22.04: Pulling from library/ubuntu Digest: sha256:7599221e4e2e4eeb90ad282fc523139578f3dfea245b5049c4fee1b28776d2be Status: Downloaded newer image for ubuntu:22.04 root@117960ca68dd:/# apt update Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [90.7 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [90.7 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [90.7 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB] Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB] Get:7 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB] Get:8 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB] Fetched 20.2 MB in 2s (9747 kB/s) Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true' E: Sub-process returned an error code
Extraer ubuntu: 21.10 todavía funciona bien.
¿Qué está causando esto y cómo se puede evitar?
He estado usando docker:latest desde hace más de un año y la primera vez que las cosas fallaron por completo durante una nueva implementación debido a la suposición de que una imagen oficial de docker "simplemente funciona".