
{

{% if registry %}
  "registry-mirrors": [
    "{{registry}}"
  ],
{% endif %}

{% if nvidia_driver_version and ansible_os_family == 'Debian' %}
  "runtimes": {
    "nvidia": {
      "path": "/usr/bin/nvidia-container-runtime",
      "runtimeArgs": []
    }
  },
{% endif %}

{% if ansible_distribution != "Fedora" %}
  "live-restore": true,
{% endif %}

  "log-driver": "json-file",
  "log-opts": {
    "max-size": "1g",
    "max-file": "1"
  }
}
