If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.
You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!
The senzing/hello-world
and senzing/hello-world-on-hub-docker-com
docker images print:
Hello world at Day Mon dd hh:mm:ss UTC yyyy
Hello world at Day Mon dd hh:mm:ss UTC yyyy
:
to STDOUT at an interval defined by SENZING_SLEEP_TIME
in seconds.
Default: 600 seconds (10 minutes).
This minimal docker image is used for testing docker formations in products like Docker-compose, Kubernetes, Rancher, etc.
It can be used to compare behavior of local docker registry/repository with DockerHub.
senzing/hello-world
is not on DockerHub. It must be built locally.senzing/hello-world-on-hub-docker-com
is on DockerHub and will be pulled automatically.
- Build local docker image
- Run Docker container from local image
- Run Docker container from DockerHub image
-
Build image. Example:
sudo docker build \ --tag senzing/hello-world \ https://github.com/senzing-garage/docker-hello-world.git#main
- SENZING_SLEEP_TIME Default: 600 (10 minutes).
-
Run the docker container. Example:
sudo docker run \ senzing/hello-world
-
Run the docker container with
SLEEP_TIME
. Example:sudo docker run \ --env SENZING_SLEEP_TIME=30 \ senzing/hello-world
-
Run the docker container. Example:
sudo docker run \ senzing/hello-world-on-hub-docker-com