Major version update recomendations, Omnibus to Docker?

Hi, we have an Omnibus CE v10.1.4 installation never updated on a server, would like to update to the last version and make regular updates from now. Updating minor versions then major versions seems to be risky.
As we are used to work with Docker, would be a good way to go create an installation with docker-compose then migrate the data from Omnibus to our Docker volume, test everything work fine then shut down Omnibus installation?
What would be the best method to migrate the data on that case?