$ sudo waydroid shell -- logcat -d | tee logcat.txt
tee: logcat.txt: Permission denied
[09:22:11] WayDroid container is STOPPED