Sorry, I should’ve been more clear. That was meant to be run inside the container.
Does docker ps show any running containers? Does docker images show the local_discourse/app image or just discourse/base?
If the answer to both is no, then removing /var/discourse and starting over might be easier then troubleshooting why.
This is a different DO droplet to the working one, right? Is this droplet in the same DO regions as the working one? Do they have the same contents in /etc/resolv.conf?