This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
Environment=PODMAN_SYSTEMD_UNIT=%n
-
EnvironmentFile=/usr/etc/default/container-registry -/etc/default/container-registry
-
ExecStart=/bin/sh -c "/usr/bin/podman run --conmon-pidfile %t/%n.pid --cidfile %t/%n.ctr-id --cgroups=no-conmon --sdnotify=conmon --replace -d --rm ${PODMAN_EXTRA_ARGS} -v /etc/registry:/etc/registry:z -p 5001:5001 --name %N ${AUTH_SERVER_IMAGE_PATH}"
-
ExecStartPre=/bin/rm -f %t/%n.pid %t/%n.ctr-id -/usr/bin/podman pull ${AUTH_SERVER_IMAGE_PATH}
-
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/%n.ctr-id -t 10
-
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/%n.ctr-id
-
NotifyAccess=all
-
Restart=on-failure
-
RestartSec=1s
-
TimeoutStopSec
Introduced in systemd 188=70 -
Type=notify
-
-
[Unit]
-
After=network-online.target local-fs.target firewalld.service
-
ConditionPathExists=/etc/registry/certs
-
Description=Authentication server for Docker Registry 2
-
Documentation=https://en.opensuse.org/Portal:Container/Image/docker_auth https://github.com/cesanta/docker_auth
-
StartLimitBurst=5
-
StartLimitIntervalSec=40
-
Wants=container-registry.service
-
Additionnal notes
Nothing here.