mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 07:18:36 +00:00
Update README.md
This commit is contained in:
+16
-17
@@ -1,21 +1,20 @@
|
||||
Quick Start Up and Running
|
||||
Building and Deploying the Latest Quickstart Docker Image
|
||||
==========================
|
||||
|
||||
Build Docker Image
|
||||
------------------
|
||||
|
||||
1. Copy Ziti binaries into ziti/quickstart/docker/image/ziti.ignore/
|
||||
|
||||
2. Build image:
|
||||
|
||||
$ cd ziti/quickstart/docker
|
||||
$ docker-compose build
|
||||
|
||||
3. Start Ziti Environment
|
||||
|
||||
$ docker-compose up -d
|
||||
|
||||
4. Clean Up
|
||||
|
||||
$ docker-compose down; docker volume prune /y; docker volume rm docker_ziti-fs
|
||||
|
||||
1. change to this directory: `cd quickstart/docker`
|
||||
1. set an environment variable: `export ZITI_HOME=$(pwd)`
|
||||
1. source the helper script: `source ../ziti-cli-functions.sh`
|
||||
1. cleanup the binary directory if it exists: `rm -rf ./image/ziti.ignore`
|
||||
1. issue this function to pull the latest ziti binaries: `getLatestZiti`
|
||||
1. move the ziti binaries: `mv ziti-bin/ziti image/ziti.ignore/`
|
||||
1. build the docker image: `docker build image -t openziti/quickstart`
|
||||
1. exec into a container and make sure it's the version you expect: `docker exec --rm -it openziti/quickstart ziti version`
|
||||
1. cleanup: `rm ziti-*tar.gz; rm -rf ziti-bin`
|
||||
2.
|
||||
Push Docker Image to dockerhub
|
||||
------------------
|
||||
1. retag the image locally to match the expected version: `docker push openziti/quickstart:0.19.3`
|
||||
1. push the latest: `docker push openziti/quickstart`
|
||||
1. push the versioned tag: `docker push openziti/quickstart:0.19.3`
|
||||
|
||||
Reference in New Issue
Block a user