We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc0477 commit 85012b6Copy full SHA for 85012b6
oci/private/registry/crane_launcher.sh.tpl
@@ -7,10 +7,7 @@ function start_registry() {
7
local deadline="${3:-5}"
8
9
mkdir -p "${storage_dir}"
10
- # --blobs-to-disk uses go's os.TempDir() function which is equal to TMPDIR under *nix.
11
- # https://pkg.go.dev/os#TempDir
12
- TMPDIR="${storage_dir}" TMP="${storage_dir}" \
13
- "${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 &
14
15
local timeout=$((SECONDS+${deadline}))
16
0 commit comments