Fix broken Docker images. Warn when sudo required.