{% extends "layout.html" %} {% block title %}{{container|capitalize}}{% endblock %} {% block content %}
{{ super() }}

{{ container|capitalize }}
{% set start_action = {'STOPPED':'start','FROZEN':'unfreeze'} %} Start Stop Freeze





{% if settings.memlimit %}MB{% else %}Unlimited{% endif %}
{% if settings.swlimit %}MB{% else %}Unlimited{% endif %}
(e.g 0 or 0-1,3 or 0,3)

(e.g /var/lib/lxc/{{container}}/rootfs)

* Set to max to unset (unlimited)
** Leave empty to unset

{% endblock %} {% macro memory_color(value) -%}{% if value != 0 %}{% if 0 <= value <= 511 %}success{% elif 512 <= value < 980 %}warning{% else %}important{% endif %}{% endif %}{%- endmacro %} {% macro render_memory_wrapper(value) -%} {% if value != 0 %}{{ value }} MB{% endif %} {%- endmacro %} {% block script %} {% endblock %}