Looking inside a machine that has no way in
There is no SSH. When a box is red and the reason points at a machine, ask the platform to run a command inside it:
Azure:
az vm run-command invoke -g <resource group> -n <vm name> \
--command-id RunShellScript --scripts 'docker ps -a; docker logs notes | tail -20'
AWS, if the instance has a role with AmazonSSMManagedInstanceCore and the NAT gateway exists:
aws ssm send-command --instance-ids <id> --document-name AWS-RunShellScript \
--parameters commands='docker ps -a; docker logs notes | tail -20'
cloud-init status and /var/log/cloud-init-output.log say whether the boot script ran and what it printed. The most common finding: the container was never created because the boot script failed one line earlier.