Solved Docker error when installing OnlyOffice

MisterM

Verified User
Joined
Jul 31, 2022
Messages
382
Hello

Server : Debian 11

I want to install OnlyOffice in docker, and I have this error message:

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.

Found, that's why edit the topic:

  1. Locate the 'GRUB_CMDLINE_LINUX=' parameter in the /etc/default/grub file and add 'apparmor=0' to it along with any other security module you are using.
$ grep "GRUB_CMDLINE_LINUX=" /etc/default/grub
GRUB_CMDLINE_LINUX="apparmor=0 security=xxx"
  1. Run the command 'update-grub' to update grub.
  2. Run the command 'update-initramfs -k all -u' to update initramfs.
  3. Reboot your machine.
 
Last edited:
Back
Top