From 7d6322701417aeea3dccecaea68f9ca223e37e4b Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 22 Feb 2024 20:21:33 +0100 Subject: [PATCH] Docs: remind self how to re-connect to a Docker container --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d253e285..36199a5ca 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -158,11 +158,23 @@ There is a script `ci/build.sh` that does this, too (without options). - `cmake -S /src -B /build -G Ninja` - `ninja -C /build` +### Running in Docker + To run Calamares inside the container, or e.g. `loadmodule` to test individual modules, you may need to configure X authentication; a simple and insecure way of doing that is to run `xhost +` in the host environment of the Docker containers. +To re-use a container (e.g. after exiting it and putting Calamares +development away for the night), (re)start the container and connect +a shell to it, to continue where you left off. Here, (re)starting +a container called *opensuse-qt6*: + +``` +docker container start opensuse-qt6 +docker container exec -ti opensuse-qt6 bash +``` + ### Dependencies for Calamares 3.3 > The dependencies for Calamares 3.3 reflect "resonably current"