@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' }}
}

Logs

@switch (streamState()) { @case ('open') { En direct } @case ('connecting') { Connexion… } @default { {{ streamMessage() }} } }

@for (line of visibleLines(); track $index) {
@if (showTimestamps()) { {{ format.time(line.ts) }} } {{ line.text }}
} @empty {

Aucune ligne.

}
@if (container(); as c) {

Informations

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) }}

Volumes

@for (mount of c.mounts; track mount.destination) { } @empty { }
Source Dans le conteneur
{{ mount.source }} {{ mount.destination }} @if (mount.readOnly) { lecture seule }
Aucun volume
}