[root@localhost poc]# docker exec cli scripts/script.sh
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec format error": unknown


这个错误的一个原因是script.sh没有加#!/bin/bash

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐