The truth is, not every image is using the bash shell; try sh shell.
docker exec -it 027285d69613 sh
Refer to this blog for more details. https://mkyong.com/docker/docker-exec-bash-executable-file-not-found-in-path/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.