Help me check whether the steps to upgrade erpnext in docker are correct?

Help me check whether the steps to upgrade erpnext in docker are correct?

  1. git clone GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

  2. cd frappe_docker

3.docker pull frappe/erpnext:v15.39.1

4.docker exec -ti 849355df153f bash

5.bench migrate