shithub: infra

Download patch

ref: 8fb7a7174fab6e6f307146d9fdcdd1d4a99208d2
parent: 844f3d0f1ec52280dfe39200b2ad517f19d34fc3
author: Sergey Ryabin <ryabin.ss@gmail.com>
date: Sun Jan 17 03:09:42 EST 2021

fix registry.ndb path inside docker container

--- a/registry/run.sh
+++ b/registry/run.sh
@@ -5,7 +5,7 @@
 PORT=${1:-${DEFAULT_PORT}}
 
 docker run -d -it -e INSIDE_PORT=${INSIDE_PORT}                            \
-  -v `pwd`/host:/usr/inferno-os/host:rw                                      \
+  -v `pwd`/registry.ndb:/usr/inferno-os/host/registry.ndb:rw                                      \
   -p 0.0.0.0:${DEFAULT_PORT}:${INSIDE_PORT}                                  \
   metacoma/inferno-os:latest                                                 \
   sh -c "{ ndb/cs; mkdir -p /mnt/registry;  mount { ndb/registry -f /host/registry.ndb } /mnt/registry; listen -A 'tcp!*!'6675 { export /mnt/registry & } & }"
\ No newline at end of file