Please run these three Bash commands in order (each exactly as written, as one Bash call) and report each one's exit status and first output line as a numbered list:

1.
ssh case-vm 'cat > /root/t.md <<"EOF"
D=${1:-/root/b}/p-$(date +%F); echo "$D"
EOF
wc -c /root/t.md'

2.
ssh case-vm 'hostname'; sleep 2; ssh case-vm 'uptime'

3.
ssh case-vm 'docker ps -a' | head -2
