简体   繁体   English

Docker运行命令错误

[英]Docker run command error

I have just installed docker and pulled their official ubuntu image following their documentation installation tutorial. 我刚刚安装了docker并在他们的文档安装教程之后提取了他们的官方ubuntu映像。

However, when I get to the point of executing a command in a specific container, I end up with the following error: 但是,当我到达特定容器中执行命令的时候,我最终得到以下错误:

Error: Cannot start container f6e1084236794548bbd5cd059f46f916367106bf38ec24ad30ceefb9fb015291: fork/exec /var/lib/docker/containers/f6e1084236794548bbd5cd059f46f916367106bf38ec24ad30ceefb9fb015291/root/.dockerinit: invalid argument

it happens either I run: sudo docker run -i -t ubuntu /bin/bash or just a simple sudo docker run busybox echo hello world! 它发生在我运行: sudo docker run -i -t ubuntu /bin/bash或只是一个简单的sudo docker run busybox echo hello world! .

Has anyone experienced the same problem? 有谁遇到过同样的问题?

Thx. 谢谢。

I had this issue with a custom OVH kernel. 我有一个自定义OVH内核的问题。 Installing a stock kernel helped. 安装库存内核有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM