我尝试在我的云服务器上全新安装 Ubuntu(版本 20.04),然后尝试安装 docker 并根据Ubuntu 官方页面中的信息运行设置。
当我通过运行达到使用“Hello World”进行测试的步骤时:
sudo docker run hello-world
Run Code Online (Sandbox Code Playgroud)
我会收到以下错误:
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown.
ERRO[0000] error waiting for container:
Run Code Online (Sandbox Code Playgroud)
我希望能够在我的实例上运行 docker。