@if (error()) {
}
@if (container(); as c) {
État
@if (status(); as s) {
}
@if (c.state === 'running') {
Depuis le {{ format.dateTime(c.startedAt) }}
} @else {
Arrêté le {{ format.dateTime(c.finishedAt) }} (code {{ c.exitCode }})
}
Processeur
{{ c.stats ? format.percent(c.stats.cpu) : '–' }}
du serveur entier
Mémoire
{{ c.stats ? format.bytes(c.stats.memUsed) : '–' }}
limite {{ c.stats ? format.bytes(c.stats.memLimit) : '–' }}
Redémarrages
{{ c.restartCount }}
politique : {{ c.restartPolicy || 'aucune' }}
}
@for (line of visibleLines(); track $index) {
@if (showTimestamps()) {
{{ format.time(line.ts) }}
}
{{ line.text }}
} @empty {
Aucune ligne.
}
@if (container(); as c) {
- Projet compose
-
{{ c.composeProject ?? '–' }}
@if (c.composeService) {
(service {{ c.composeService }})
}
- Dossier
- {{ c.composeWorkingDir ?? '–' }}
- Commande
- {{ c.command || '–' }}
- Réseaux
- {{ c.networks.join(', ') || '–' }}
- Ports publiés
- {{ c.publishedPorts.join(', ') || 'aucun (accès via Caddy)' }}
- Créé le
- {{ format.dateTime(c.createdAt) }}
- Id
- {{ c.id.slice(0, 12) }}
| Source |
Dans le conteneur |
@for (mount of c.mounts; track mount.destination) {
| {{ mount.source }} |
{{ mount.destination }}
@if (mount.readOnly) {
lecture seule
}
|
} @empty {
| Aucun volume |
}
}