In my case the solution was to prune docker images using docker system prune -a and letting them be rebuilt on next devcontainer start.
docker system prune -a