I have the following Dockerfile that uses the latest Ubuntu image pulled from dockerhub:
FROM ubuntu:latest RUN apt-get update && apt-get install -y
Apparently my root partition was full (maybe I've tried too many times to download packages through apt), and running sudo apt clean solved the issue