Docker

Problem: OCI runtime create failed

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.

Solution:

nano /etc/default/grub
// Add apparmor=0 to GRUB_CMDLINE_LINUX_DEFAULT="quiet"
// example: GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=0"

update-grub2

// reboot
reboot

Last updated