We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7392c5b commit d7795b2Copy full SHA for d7795b2
oci/private/registry/crane_launcher.sh.tpl
@@ -8,12 +8,9 @@ function start_registry() {
8
local registry_pid="$1/proc.pid"
9
10
mkdir -p "${storage_dir}"
11
- # --blobs-to-disk uses go's os.TempDir() function which is equal to TMPDIR under *nix.
12
- # https://pkg.go.dev/os#TempDir
13
- TMPDIR="${storage_dir}" TMP="${storage_dir}" \
14
- "${CRANE_REGISTRY_BIN}" registry serve --blobs-to-disk >> $output 2>&1 &
+ "${CRANE_REGISTRY_BIN}" registry serve --disk="${storage_dir}" --address=localhost:0 >> $output 2>&1 &
15
echo "$!" > "${registry_pid}"
16
-
+
17
local timeout=$((SECONDS+${deadline}))
18
19
while [ "${SECONDS}" -lt "${timeout}" ]; do
0 commit comments