The upgrade for docker is to update the URL in the docker file to point to the new one, which for Elasticsearch is to upgrade the version number it references.
Then you can use one of the docker container commands to restart it and pull down the new version.