I use docker compose for my nextcloud aio and added two community containers (stalwart, caddy) for testing purposes.
I followed this to remove the containers from the aio stack but the containers are still shown in the aio dashboard.
I got it: the mastercontainer did not fetch my current compose file and had an old state. I edited the /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json manually and restartet the container - now it works.