Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pull option to docker compose build #1613

Merged
merged 1 commit into from
May 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions docs/central-upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,16 @@ Upgrade steps

$ git submodule update -i

4. **Build** from the latest code you just fetched.
4. **Build** from the latest code you just fetched. The ``pull`` options pull updates to all Docker images.
yanokwa marked this conversation as resolved.
Show resolved Hide resolved

.. code-block:: console

$ docker compose build
$ docker compose pull
$ docker compose build --pull

.. note::

If you run into problems with this step, try stopping Central (``docker compose stop``) and then retry ``docker compose build``.
If you run into problems with this step, try stopping Central (``docker compose stop``) and then retry ``docker compose build --pull``.

5. **Clean up unused Docker images**

Expand Down Expand Up @@ -318,7 +319,8 @@ This is *critical infrastructure upgrade*. In particular, it upgrades the includ

.. code-block:: console

$ docker compose build
$ docker compose pull
$ docker compose build --pull

#. **Start the database upgrade and wait for the process to exit.** This is where the new PostgreSQL 14 database is made and data copied into it. This will take a long time if you have a lot of data and/or a slow server.

Expand Down