diff --git a/doc/source/contributor-how-to-build-docker-images.rst b/doc/source/contributor-how-to-build-docker-images.rst index b19f5987cb1..438c98bddd4 100644 --- a/doc/source/contributor-how-to-build-docker-images.rst +++ b/doc/source/contributor-how-to-build-docker-images.rst @@ -104,22 +104,13 @@ Building the SuperLink/SuperNode or ServerApp image - Yes - :substitution-code:`|stable_flwr_version|-py3.11-ubuntu|ubuntu_version|` -The following command creates either a SuperLink, SuperNode or ServerApp image with the official Flower -base image: - -.. code-block:: bash - - $ cd src/docker// - $ docker build \ - --build-arg BASE_IMAGE=-py- \ - -t flwr_superlink:0.1.0 . For example, to build a SuperLink image with the latest Flower version, Python 3.11 and Ubuntu 22.04, run the following: .. code-block:: bash :substitutions: $ cd src/docker/superlink - $ docker build \ + $ docker build \ --build-arg BASE_IMAGE=|current_flwr_version|-py3.10-ubuntu22.04 \ -t flwr_superlink:0.1.0 . diff --git a/doc/source/docker/tutorial-quickstart-docker.rst b/doc/source/docker/tutorial-quickstart-docker.rst index 08b4a68fc0b..7d960ea85eb 100644 --- a/doc/source/docker/tutorial-quickstart-docker.rst +++ b/doc/source/docker/tutorial-quickstart-docker.rst @@ -294,8 +294,8 @@ Step 5: Run the Quickstart Project $ docker logs -f superexec -Step 6: Update the Application Code ------------------------------------ +Step 6: Update the Application +------------------------------ #. Change the application code. For example, change the ``seed`` in ``quickstart_docker/task.py`` to ``43`` and save it: @@ -350,17 +350,17 @@ Step 6: Update the Application Code Step 7: Clean Up ---------------- -#. Remove the containers and the bridge network: +Remove the containers and the bridge network: - .. code-block:: bash +.. code-block:: bash - $ docker stop $(docker ps -a -q --filter ancestor=flwr_supernode:0.0.1) \ - superexec \ - superlink - $ docker network rm flwr-network + $ docker stop $(docker ps -a -q --filter ancestor=flwr_supernode:0.0.1) \ + superexec \ + superlink + $ docker network rm flwr-network Where to Go Next ---------------- -* :doc:`Enabling TLS for secure connections ` -* :doc:`Persist the state of the SuperLink ` +* :doc:`tls` +* :doc:`persist-superlink-state`