zitiLogin not working

what does docker image ls | grep openziti show?

docker image ls | grep openziti
openziti/quickstart   latest    79326dd84de4   23 hours ago   305MB

You can’t issue docker pull openziti/quickstart?

It shows the same output as yours except 3 months ago. This is because we are working in an offline lab and we installed a quickstart.tar file months ago and loaded it into docker.

Ok that’s helpful. 3 months ago was version 0.27.9… Let’s try to confirm it, can you exec into the container and type ziti --version
for example, mine shows 0.29.0

ziti --version
v0.29.0

Let’s confirm you’re using 0.27.9?

Yes when I run that command it says v0.27.9

Ok. gimme a bit and I’ll try it out on my side. It’ll be a few hours but I’ll try to reply today

Okay thanks again for the help

Yep. I had the same issue. I tried it out and found the proper way to accomplish what you’re after. Here’s what you need to do in order to use 0.27.9… I also uploaded a video of me doing this here:

Prerequisites

if needed use docker to:

  • create the volume
  • create the network

Start the Controller:

docker run \
  --name ziti-controller \
  -e ZITI_CTRL_ADVERTISED_ADDRESS=ziti-edge-controller \
  --network myFirstZitiNetwork \
  --network-alias ziti-controller \
  --network-alias ziti-edge-controller \
  -p 1280:1280 \
  -it \
  --rm \
  -v myPersistentZitiFiles:/persistent \
  openziti/quickstart:0.27.9 \
  /var/openziti/scripts/run-controller.sh

Initialize the Overlay by running the ‘init’ container

docker run \
  --network myFirstZitiNetwork \
  --network-alias ziti-controller-init-container \
  -it \
  --rm \
  -v myPersistentZitiFiles:/persistent \
  openziti/quickstart:0.27.9 \
  /var/openziti/scripts/run-with-ziti-cli.sh  /var/openziti/scripts/access-control.sh

Run “edge router 1”

docker run \
  --name ziti-edge-router-1 \
  -e ZITI_EDGE_ROUTER_RAWNAME=ziti-edge-router-1 \
  -e ZITI_ROUTER_ADVERTISED_HOST=ziti-edge-router-1 \
  -e ZITI_ROUTER_ROLES=public \
  --network myFirstZitiNetwork \
  --network-alias ziti-edge-router-1 \
  -p 3022:3022 \
  -it \
  --rm \
  -v myPersistentZitiFiles:/persistent \
  openziti/quickstart:0.27.9 \
  /var/openziti/scripts/run-router.sh edge

Run “edge router 2”

Totally not needed, purely optional. Only used to illustrate the routers connecting

docker run \
  --name ziti-edge-router-2 \
  -e ZITI_EDGE_ROUTER_RAWNAME=ziti-edge-router-2 \
  -e ZITI_ROUTER_ADVERTISED_HOST=ziti-edge-router-2 \
  -e ZITI_ROUTER_PORT=4022 \
  -e ZITI_ROUTER_ROLES=public \
  --network myFirstZitiNetwork \
  --network-alias ziti-edge-router-2 \
  -p 4022:4022 \
  -it \
  --rm \
  -v myPersistentZitiFiles:/persistent \
  openziti/quickstart:0.27.9 \
  /var/openziti/scripts/run-router.sh edge

Thank you so much it works now. I appreciate the help!

1 Like