How should I upgrade using docker?

I’m using docker with image: ghost:2-alpine

how should I upgrade to 3.0?

You can use watchtower for automated updates.

huh?

I think they were referencing this.

But to answer your question, you should be able to upgrade by updating your image to ghost:3-alpine. As always, make sure you back up your database, but migrations should run w/o any issues.