{% extends "layout.html" %} {% block body %}

Dashboard » {{ client_name }} » Containers

All Containers Paused Containers Running Containers Stopped Containers

{{ currentComposerProject }}

{% for container in containers %} {% if (loop.first) or (loop.previtem.attrs.Config.Labels['com.docker.compose.project'] != container.attrs.Config.Labels['com.docker.compose.project']) %}

{{ container.attrs.Config.Labels['com.docker.compose.project'] }}

{% endif%}
{{ container.status }}
ShortID: {{ container.short_id }}
{{ container.attrs['Created'][0:19] }}
{{ container.attrs['Config']['Entrypoint'][0] }}
{{ container.attrs['Config']['Image'] }}
{% for port in container.attrs['NetworkSettings']['Ports'] %} {{ port }} {% if container.attrs['NetworkSettings']['Ports'][port] is not none %} {% if container.attrs['NetworkSettings']['Ports'][port] is not none and container.attrs['NetworkSettings']['Ports'][port]|length > 0 %} {% for port_exposed in container.attrs['NetworkSettings']['Ports'][port] %} ->{{ port_exposed['HostIp'] }}:{{ port_exposed['HostPort'] }} {% endfor %} {% endif %} {% endif %} {% endfor %}
log export {% if (container.status == 'exited') or (container.status == 'created') %} start remove {% endif %} {% if container.status == 'running' %} stop restart top {% endif %}
{% else %}
no containers
{% endfor %} {% endblock %}