Unifi aarch64 readopt ap

hi, i use lsioarmhf/airsonic-aarch64, i adopt all ap, then make docker commit and save it to new image, then i run new image and all ap ask to readopt again, why?

Our images aren’t meant to be used that way. Map the /config folder to a folder on the host. That’s where all the unifi configs and databases are kept

can you show how to do that, i dont know docker well(((

It’s in the sample docker create in the readme
-v /path/to/folder:/config
Left side is the folder on the host, right side is the container

i did that, manage setup, then stop docker, and run again. all my changes gone. and one more how can i update unifi to next version