How to upgrade From Grafana 5.4.2 to 6.7.2 on containers

Hi Team,

Can you please provide me the step by step procedure for upgrading from 5.4.2 to 6.7.2. My setup is running on containers and i dont want loose data as part of upgrade. How the database schema gets upgraded. documentation in the website is a bit unclear for containers solutions. Help me!!

While upgrading, I can see errors like “t=2020-05-04T06:24:18+0000 lvl=warn msg=“phantomJS is deprecated and will be removed in a future release. You should consider migrating from phantomJS to grafana-image-renderer plugin. Read more at” logger=rendering renderer=phantomJS”