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:
parent
dcbe61a3f0
commit
d863a1e2a3
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user