aztec-packages
aztec-packages copied to clipboard
Cannot start PXE on custom (specific) port
docker run \
--rm \
--workdir "$PWD" \
-e AZTEC_NODE_URL="$2" \
-v $HOME:$HOME \
-v cache:/cache \
-p $1:$1 \
aztecprotocol/aztec:latest \
start --pxe --port $1
Have used this command successfully until version 0.47.1 to launch a PXE attached to $2, running on port $1
Since version 0.48.0, it complains:
Moreover, it seems that there is something wrong altogether in parsing the port parameter, as -p isn't recognized at all, and --port is parsed as NaN
adding AZTEC_PORT to the docker run command did the trick
docker run \
--rm \
--workdir "$PWD" \
-e AZTEC_PORT=$1 \
-e AZTEC_NODE_URL="$2" \
-v $HOME:$HOME \
-v cache:/cache \
-p $1:$1 \
aztecprotocol/aztec:latest \
start --pxe