Hey,
I host Docker on one of my PVE hosts for personal reasons. When I upgraded from 8 to 9, I couldn't connect to my containers. AppArmor was blocking it.
Disable AppArmor Specifically for Docker Daemon:
1) Edit the Docker systemd service override:
sudo systemctl edit docker
2) Add the following:
[Service]
Environment="container=docker"
3) Reload and restart:
sudo systemctl daemon-reload
sudo systemctl restart docker
4) Profit!
I host Docker on one of my PVE hosts for personal reasons. When I upgraded from 8 to 9, I couldn't connect to my containers. AppArmor was blocking it.
Disable AppArmor Specifically for Docker Daemon:
1) Edit the Docker systemd service override:
sudo systemctl edit docker
2) Add the following:
[Service]
Environment="container=docker"
3) Reload and restart:
sudo systemctl daemon-reload
sudo systemctl restart docker
4) Profit!