Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 834 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 834 Bytes

t4-hub

Execute locally (single machine)

minikube start cd ~/GoogleDrive/AA_NEXTGENDEM/t4-hub docker build -t nextgendem/t4h . minikube image load nextgendem/t4h

Excute using registry Docker container (mandatory in kubernetes)

Registry Docker container https://hub.docker.com/_/registry is a Distribution implementation for storing and distributing of container images and artifacts that allows to use locally built docker images in kubernetes.

start registry: (only once)

docker run -d -p 5000:5000 --restart=always --name registry registry:2

build image and push:

docker build -t localhost:5000/nextgendem/t4h . docker push localhost:5000/nextgendem/t4h

note that in this case of a develop environment imagePullPolicy in pod manifest has to be set to Always to get the new image everytime were build it