Autotunnel docker run not running cloudflared

That’s a non-sequitur.

If it is a brand new hostname this would be expected as the hostname didn’t already exist when the tunnel was created.

So you’re getting a Bad Gateway error. The typical cause for that is that from the machine running the tunnel you can’t connect to the origin host as it is configured.