For compatibility with Arch/Majaro, make the following two mounts conditional on the source actually existing.
--mount type=bind,source=${HOME}/.local/share/fonts,target=/usr/share/fonts,readonly (no such directory on my Manjaro machines: ~/.local/share/fonts - possibly because I installed all fonts globally?)
--mount type=bind,source=/etc/alternatives/x-cursor-theme,target=/usr/share/icons/default/index.theme,readonly (again, the folder /etc/alternatives/x-cursor-theme does not exist)
(See here for more on cursor theme locations in Arch. The ideal situation is to inherit the same mouse theme from the host, which works currently in Ubuntu, but a more universal solution may exist (?) Perhaps a fallback value might be ~/.icons/default/index.theme with a further fallback to /usr/share/icons/default/index.theme )
Update: ${HOME}/.local/share/fonts is, like debian-derived distributions, the recommended location for local fonts on Arch. So probably best to keep this and to create that directory if it doesn't exist.
For compatibility with Arch/Majaro, make the following two mounts conditional on the source actually existing.
(See here for more on cursor theme locations in Arch. The ideal situation is to inherit the same mouse theme from the host, which works currently in Ubuntu, but a more universal solution may exist (?) Perhaps a fallback value might be
~/.icons/default/index.theme
with a further fallback to/usr/share/icons/default/index.theme
)Thanks @hanziness for IDing this as an issue.