/bin/sh: 1: sudo: not found when running dockerfile June 8, 2023 by Tarik by default docker container runs as root user remove the sudo from Dockerfile and run again.