OCI runtime exec failed: exec failed: unable to start container process: exec: “mongo“: executable f

OCI runtime exec failed: exec failed: unable to start container process: exec: "mongo": executable file not found in $PATH: unknown

该问题的原因是因为mongodb 5.0以后mongo将不能用于执行命令,替代方案mongosh。

参考:OCI runtime exec failed: exec failed: unable to start container process: exec: "mongo": executable f - 码农教程

你可能感兴趣的:(linux,docker,mongodb)