refactor: Update Docker inspect command to retrieve container labels

This commit is contained in:
2024-09-04 10:50:55 +08:00
parent 1d54a1bd44
commit d9f2b4cad7
+3
View File
@@ -0,0 +1,3 @@
docker inspect -f '{{ range $k, $v := .Config.Labels -}}
{{ $k }}={{ $v }};
{{ end -}}' $cid