How to update Kong Gateway Enterprise v2.6 to v2.7 using docker

Hello,

I’m trying to update Kong Gateway using Docker. To switch from version 2. 6 to 2. 7, I remove the image from version 2. 6 and replace it with the image from version 2. 7 and assign it to a new container. But when I run this new container, it crashes and gives me the following error :

(P. S: I followed this tutorial: https://phoenixnap.com/kb/update-docker-image-container)

You need a container to run kong migrations up and kong migrations finish for db migrations first.