{{ extends "base" }} {{ block body_content() }}

{{ .Task.Name ? .Task.Name : .Task.ID }}

ID
{{ .Task.ID }}
Service ID
{{ .Task.ServiceID }}
{{ if .Task.Status.ContainerStatus }} {{ if .Task.Status.ContainerStatus.ContainerID }}
Container ID
{{ .Task.Status.ContainerStatus.ContainerID }}
{{ end }} {{ if .Task.Status.ContainerStatus.PID }}
PID
{{ .Task.Status.ContainerStatus.PID }}
{{ end }} {{ if .Task.Status.ContainerStatus.ExitCode }}
Exit code
{{ .Task.Status.ContainerStatus.ExitCode }}
{{ end }} {{ end }}
Image
{{ .Task.Spec.ContainerSpec.Image }}
Created at
{{ time(.Task.CreatedAt) }}
Updated at
{{ time(.Task.UpdatedAt) }}
State
{{ .Task.Status.State }}
{{ if .Task.Status.Message }}
Message
{{ .Task.Status.Message }}
{{ end }} {{ if .Task.Status.Err }}
Error
{{ .Task.Status.Err }}
{{ end }}
{{ if .Task.NetworksAttachments }}

Networks

{{ range .Task.NetworksAttachments }} {{ end }}
Name ID Addresses
{{.Network.Spec.Name}} {{.Network.ID}} {{.Addresses}}
{{ end }} {{ i18n("button.return") }}
{{ end }}