I am not staff but as I understood, the latest major versions are not free. You have to pay to be able to download the latest software version for self-hosting. But currently there is no official docker image for download.
So no upgrade path for your dockerized 3.8.1 at the moment.
Maybe this post could answer some additional questions.