`/bin/bash` can also be replaced by an arbitrary command to be run. Pass `-u root` to get a root shell inside the container.
To run an image other than `/var/lib/machines/xcache` additional options have to be passed on the command line since it won't read `/etc/systemd/nspawn/xcache.nspawn` then, e.g.