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 - 码农教程

猜你喜欢

转载自blog.csdn.net/qq_50909707/article/details/131744796