diff --git a/content/documentation/quick-start/_index.md b/content/documentation/quick-start/_index.md index 7d3b6c0..faeb47a 100644 --- a/content/documentation/quick-start/_index.md +++ b/content/documentation/quick-start/_index.md @@ -51,6 +51,16 @@ USAGE: ... ``` +If you use Docker, you can get the same result with: + +```bash +docker run --network host dxflrs/aerogramme:0.2.0 aerogramme +``` + +*Using host network is not required for this example, but it will be useful for the following, +as, by default, Aerogramme often binds on localhost, and thus its sockets are not available +outside of the container even if you bind the correct ports.* + ## Starting the daemon in development mode To start an in-memory daemon for evaluation purposes, you don't need any configuration file. Just run: @@ -59,6 +69,15 @@ To start an in-memory daemon for evaluation purposes, you don't need any configu aerogramme --dev provider daemon ``` +If you use the docker container, you must launch: + +```bash +docker run --network host dxflrs/aerogramme:0.2.0 aerogramme --dev provider daemon +``` + +*Starting from now, docker commands will not be given anymore. We assume that you have understood the pattern +on how to map the documentation commands to Docker.* + Now Aerogramme is listening for IMAP on `[::1]:1143` and for LMTP on port `[::1]:1025`. A test account has been created with username `alice` and password `hunter2`.