mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-28 09:11:18 +00:00
962 B
962 B
Using images from the Docker Hub
-
For everyone's convenience, we took care of building DockerCoins images
-
We pushed these images to the DockerHub, under the dockercoins user
-
These images are tagged with a version number,
v0.1 -
The full image names are therefore:
-
dockercoins/hasher:v0.1 -
dockercoins/rng:v0.1 -
dockercoins/webui:v0.1 -
dockercoins/worker:v0.1
-
Setting $REGISTRY and $TAG
-
In the upcoming exercises and labs, we use a couple of environment variables:
-
$REGISTRYas a prefix to all image names -
$TAGas the image version tag
-
-
For example, the worker image is
$REGISTRY/worker:$TAG -
If you copy-paste the commands in these exercises:
make sure that you set
$REGISTRYand$TAGfirst! -
For example:
export REGISTRY=dockercoins TAG=v0.1(this will expand
$REGISTRY/worker:$TAGtodockercoins/worker:v0.1)