Files
ziti/quickstart/docker
dovholuknf 43707a797a * added short sleep after controller comes online. noticed routers would
sometimes fail to start with what seems like a small enrolling race condition
* move the link.dialers section to the first part. they are always there
* put back the "CSR" section which was removed by mistake for private/fabric only routers
2022-02-15 18:19:26 -05:00
..
2021-12-09 16:24:33 -05:00

Building and Deploying the Latest Quickstart Docker Image

Build Docker Image

  1. change to this directory: cd quickstart/docker
  2. set an environment variable: export ZITI_HOME=$(pwd)
  3. source the helper script: source ../ziti-cli-functions.sh
  4. cleanup the binary directory if it exists: rm -rf ./image/ziti.ignore
  5. issue this function to pull the latest ziti binaries: getLatestZiti
  6. move the ziti binaries: mv ziti-bin/ziti image/ziti.ignore/
  7. build the docker image: docker build image -t openziti/quickstart
  8. exec into a container and make sure it's the version you expect: docker run --rm -it openziti/quickstart ziti version
  9. cleanup: rm ziti-*tar.gz; rm -rf ziti-bin

Push Docker Image to dockerhub

  1. retag the image locally to match the expected version: docker push openziti/quickstart:0.19.3
  2. push the latest: docker push openziti/quickstart
  3. push the versioned tag: docker push openziti/quickstart:0.19.3