Due to a file corruption or some reason I started getting below error
AppArmor enabled on system but the docker-default profile could not be loaded: strconv.Atoi: parsing "found": invalid syntax
I followed below steps to fix this problem. Please take backup of AppArmor profiles if you created any before running below commands
sudo rm -rf /etc/apparmor*
sudo apt remove --assume-yes --purge apparmor
sudo apt install apparmor
Thx it worked
I will write what I had to do
When I did docker-compose up -d as before I got the error
I thought I would have to update docker to get to docker compose. kinda did it like this (idk if this right)
But after that I came to this error
I have tried to reinstall appamor
(I have done both decide for yourself what is right)
Last came this error
And in the end that helped
And in the end it works again with docker compose up -d