目录
[TOC]
报错
在Debian使用docker时遇到如下报错,所有容器都是这样:
其中xxx_container_name
是对应容器的名字
Creating xxx_container_name ... error
ERROR: for xxx_container_name Cannot start service xxx_container_name: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output:
error: exec: "apparmor_parser": executable file not found in $PATH
ERROR: for xxx_container_name Cannot start service xxx_container_name: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output:
error: exec: "apparmor_parser": executable file not found in $PATH
ERROR: Encountered errors while bringing up the project.
解决方法
apt install apparmor apparmor-utils
头一回遇到,奇怪的问题。