Enable Local Docker Registry Image Delete

Change config file to allow controller local Docker registry images to
be deleted.

Story: 2002840
Task: 28621

Change-Id: I636a8e26f92c50ebc2222292cd21f7e7784ed2ac
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
This commit is contained in:
Jerry Sun 2019-05-09 15:26:30 -04:00
parent dcbe61a3f0
commit d863a1e2a3

View File

@ -3,6 +3,7 @@ Description=v2 Registry server for Docker
[Service]
Type=simple
Environment=REGISTRY_STORAGE_DELETE_ENABLED=true
ExecStart=/usr/bin/registry serve /etc/docker-distribution/registry/config.yml
Restart=on-failure
ExecStartPost=/bin/bash -c 'echo $MAINPID > /var/run/docker-distribution.pid'