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/10/30 12:08] – [Hello World] niccolo | doc:appunti:linux:sa:docker [2025/11/06 10:56] (current) – [Esempio di esecuzione di un container] niccolo | ||
|---|---|---|---|
| Line 57: | Line 57: | ||
| </ | </ | ||
| + | FIXME Verificare se l' | ||
| + | |||
| + | ===== Gestione delle immagini e dei container ===== | ||
| + | |||
| + | < | ||
| + | docker images | ||
| + | docker ps -a | ||
| + | docker start b629dea65cc0 | ||
| + | docker stop angry_archimedes | ||
| + | docker rm 144443902b95 | ||
| + | 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' | ||
| + | |||
| + | ^ / | ||
| FIXME | FIXME | ||
| Line 69: | Line 116: | ||
| FIXME | FIXME | ||
| + | ===== Risorse web ===== | ||
| + | |||
| + | * **[[https:// | ||
doc/appunti/linux/sa/docker.1761822514.txt.gz · Last modified: by niccolo
