graphql-engine/docs/graphql/manual/deployment/docker/updating.rst
2020-03-12 01:12:36 +05:30

51 lines
1.4 KiB
ReStructuredText

.. meta::
:description: Update Hasura GraphQL engine with Docker deployment
:keywords: hasura, docs, deployment, docker, update
.. _docker_update:
Updating Hasura GraphQL engine running with Docker
==================================================
.. contents:: Table of contents
:backlinks: none
:depth: 1
:local:
This guide will help you update the Hasura GraphQL engine running with Docker. This guide assumes that you already have
Hasura GraphQL engine running with Docker.
Step 1: Check the latest release version
----------------------------------------
The current latest version is:
.. raw:: html
<code>hasura/graphql-engine:<span class="latest-release-tag">latest</span></code>
All the versions can be found at: https://github.com/hasura/graphql-engine/releases
Step 2: Update the Docker image
-------------------------------
In the ``docker run`` command or the ``docker-compose`` command that you're running, update the image tag to this
latest version.
For example, if you had:
.. raw:: html
<code>docker run hasura/graphql-engine:v1.0.0-alpha01 ...</code>
you should change it to:
.. raw:: html
<code>docker run hasura/graphql-engine:<span class="latest-release-tag">latest</span> ...</code>
.. note::
If you are downgrading to an older version of the GraphQL engine you might need to downgrade your metadata catalogue version
as described in :ref:`downgrade_hge`