我想在WindowsServer-2022上运行一个Linux Docker容器,而不需要登录到Windows并启动Desktop。我成功地创建了。但是在那里我不能创建Linux容器。错误消息:
docker: image operating system "linux" cannot be used on this platform.
当码头作为Windows运行时,我不能用dockerCLI来改变引擎,或者我也不知道怎么做。为我的Windows更改引擎,但不更改Windows。在我的Windows用户上,我可以毫无问题地运行Linux容器。
我的问题是:不需要登录Windo
我将运行一个在代码中使用#include <linux/bootmem.h>的代码。当我在Linux中运行代码时,我得到以下错误
“fatal error: linux/bootmem.h: No such file or directory
#include <linux/bootmem.h>”
我怎样才能找到那个文件?我找了也找不到。
如果我找到了这个文件,我该如何使用它?将文件放在同一个目录中就足够了吗?