Skip to content

Commit

Permalink
Merge pull request #10089 from IQSS/dev-usage-redeploy-notes
Browse files Browse the repository at this point in the history
Container Guide: shorten redeploy section to what works
  • Loading branch information
pdurbin authored Nov 2, 2023
2 parents 8d4b526 + eac4f10 commit 6cfe43a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions doc/sphinx-guides/source/container/dev-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,6 @@ by recreating the container(s). In the future, more options may be added here.
If you started your containers in foreground, just stop them and follow the steps for building and running again.
The same goes for using Maven to start the containers in the background.

In case of using Docker Compose and starting the containers in the background, you can use a workaround to only
restart the application container:

.. code-block::
# First rebuild the container (will complain about an image still in use, this is fine.)
mvn -Pct package
# Then re-create the container (will automatically restart the container for you)
docker compose -f docker-compose-dev.yml create dev_dataverse
Using ``docker container inspect dev_dataverse | grep Image`` you can verify the changed checksums.

Using a Debugger
Expand Down

0 comments on commit 6cfe43a

Please sign in to comment.