-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Based on some conversations on discord I have setup the following environment variables on the synpse-agent service on a host.
Environment=AGENT_IMAGE_GC_AGE="48h"
Environment=AGENT_IMAGE_GC_FORCE="true"
But I see images that are much older than 48 hours on the host. This is a bit of a pain point because as we deploy new images we have to manually prune the docker system on our hosts. Is there something obvious I'm missing about how to setup the image garbage collection?
The agent version of the host is 0.21.18
The docker version info is:
Client:
Version: 20.10.12
API version: 1.41
Go version: go1.16.2
Git commit: 20.10.12-0ubuntu2~20.04.1
Built: Wed Apr 6 02:16:12 2022
OS/Arch: linux/arm64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.12
API version: 1.41 (minimum version 1.12)
Go version: go1.16.2
Git commit: 20.10.12-0ubuntu2~20.04.1
Built: Thu Feb 10 15:03:35 2022
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.5.9-0ubuntu1~20.04.4
GitCommit:
nvidia:
Version: 1.1.0-0ubuntu1~20.04.1
GitCommit: 629a689
docker-init:
Version: 0.19.0
GitCommit:
Metadata
Metadata
Assignees
Labels
No labels