doc:appunti:linux:sa:docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:docker [2025/11/06 09:19] – [Risorse impegnate sull'host locale] niccolo | doc:appunti:linux:sa:docker [2025/11/06 10:56] (current) – [Esempio di esecuzione di un container] niccolo | ||
|---|---|---|---|
| Line 56: | Line 56: | ||
| docker.io/ | docker.io/ | ||
| </ | </ | ||
| + | |||
| + | FIXME Verificare se l' | ||
| ===== Gestione delle immagini e dei container ===== | ===== Gestione delle immagini e dei container ===== | ||
| Line 64: | Line 66: | ||
| docker start b629dea65cc0 | docker start b629dea65cc0 | ||
| docker stop angry_archimedes | docker stop angry_archimedes | ||
| + | docker rm 144443902b95 | ||
| docker rm agitated_darwin | docker rm agitated_darwin | ||
| </ | </ | ||
| + | Ogni container viene identificato da un ID numerico oppure da un codice mnemonico formato da due parole casuali. | ||
| + | |||
| + | ===== Esempio di esecuzione di un container ===== | ||
| + | |||
| + | Proviamo ad eseguire un' | ||
| + | |||
| + | * Un **file di configurazione**. | ||
| + | * Un **database** di backend, SQLite oppure PostgreSQL. | ||
| + | * Una **porta TCP** su cui porsi in ascolto. | ||
| + | |||
| + | < | ||
| + | docker run matrixdotorg/ | ||
| + | </ | ||
| + | |||
| + | Viene visualizzato il messaggio: | ||
| + | |||
| + | < | ||
| + | Config file '/ | ||
| + | file by running with the `generate` argument (and then edit the resulting file before | ||
| + | restarting) or specify the path to an existing config file with the SYNAPSE_CONFIG_PATH | ||
| + | variable. | ||
| + | </ | ||
| + | |||
| + | Leggendo la [[https:// | ||
| + | |||
| + | < | ||
| + | docker run -it --rm \ | ||
| + | --mount type=volume, | ||
| + | -e SYNAPSE_SERVER_NAME=my.matrix.host \ | ||
| + | -e SYNAPSE_REPORT_STATS=yes \ | ||
| + | matrixdotorg/ | ||
| + | </ | ||
| ===== Risorse impegnate sull' | ===== Risorse impegnate sull' | ||
doc/appunti/linux/sa/docker.1762417172.txt.gz · Last modified: by niccolo
