I just tried running this and ran into the issue that I couldn't do my 2FA authentification command because the container would always stop before I could access it from the Unraid console. To get it running, I added "sleep infinity" as a post argument in the advanced view when configuring the container from the Unraid UI, so the container wouldn't automatically stop opened the container console ran chown -R abc:abc /config
icloud --username=<my-icloud-email> --session-directory=/config/session_datasigned in using 2FA stopped the container right-clicked "edit" on the container setup in Unraid UI removed the "sleep infinity" post argument in the advanced view and finished my edit Only then did my container restart correctly backing up my files.