This commit is contained in:
@ -0,0 +1,6 @@
|
||||
[Service]
|
||||
Environment=PATH=/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
|
||||
ExecStartPre=mkdir -p /run/docker/libcontainerd
|
||||
ExecStartPre=ln -fs /run/containerd/containerd.sock /run/docker/libcontainerd/docker-containerd.sock
|
||||
ExecStart=
|
||||
ExecStart=/opt/bin/containerd --config /etc/containerd/config.toml
|
@ -0,0 +1,10 @@
|
||||
[Service]
|
||||
{% if http_proxy %}
|
||||
Environment="HTTP_PROXY={{ http_proxy }}"
|
||||
{% endif %}
|
||||
{% if https_proxy %}
|
||||
Environment="HTTPS_PROXY={{ https_proxy }}"
|
||||
{% endif %}
|
||||
{% if no_proxy %}
|
||||
Environment="NO_PROXY={{ no_proxy }}"
|
||||
{% endif %}
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
# Do not limit the number of tasks that can be spawned by containerd
|
||||
TasksMax=infinity
|
@ -0,0 +1,8 @@
|
||||
[Service]
|
||||
# Decreases the likelihood that containerd is killed due to memory
|
||||
# pressure.
|
||||
#
|
||||
# Please see the following link for more information about the
|
||||
# OOMScoreAdjust configuration property:
|
||||
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#OOMScoreAdjust=
|
||||
OOMScoreAdjust=-999
|
Reference in New Issue
Block a user