summaryrefslogtreecommitdiff
path: root/x/registry
blob: a1524caf322d924efda69741220518b9473c0e22 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -eu

root="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)/.."

echo "registry on localhost:5000"
exec docker run \
    --rm \
    --publish 5000:5000 \
    --volume "$root/reg:/var/lib/registry" \
    registry:2