你们的随身wifi安装Docker应用有没有报错?

@Ta 2023-03-19 6943点击
有些应用就会报错,无法安装,有些没事,安装的是ddns-go,命令:

docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go


以下报错信息,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.
回复列表(4|显示机器人聊天)
  • @Ta / 2023-03-20 / /
    image.png(86.93 KB)
  • @Ta / 2023-03-21 / /
    无法使用这个命令Screenshot_2023-03-21-06-02-29-769_com.sonelli.juicessh.jpg(347.52 KB)
  • @Ta / 2023-03-21 / /
    去掉sudo运行后还是报错
    root@yebeiwifi:~# service apparmor stop
    Failed to stop apparmor.service: Unit apparmor.service not loaded.
    root@yebeiwifi:~# update-rc.d -f apparmor remove
    root@yebeiwifi:~# docker run -d --name ddns-go --restart=always --net=host -v /ddns-go:/root jeessy/ddns-go /bin/sh
    Unable to find image 'jeessy/ddns-go:latest' locally
    latest: Pulling from jeessy/ddns-go
    9b3977197b4f: Pull complete
    221752ba9a3c: Retrying in 12 seconds
    a9c40c9b828d: Retrying in 1 second
    92b3577542de: Retrying in 1 second
    latest: Pulling from jeessy/ddns-go
    af6eaf76a39c: Pull complete
    f8a75cc1ba2e: Pull complete
    728bfada2881: Pull complete
    4140bb0859ec: Pull complete
    fb6292562984: Pull complete
    Digest: sha256:daff5927b7ca4fd4a0f65ca992d29222b4da944ccdabcf4d25f486f16411efde
    Status: Downloaded newer image for jeessy/ddns-go:latest
    58a2798974bbd286d388b5b26baf70f785dfcfc3f6b03f51a09d884a38423626
    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.
  • @Ta / 2023-03-21 / /
    还是不起作用,估计只能重新刷了
添加新回复
回复需要登录