Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

Below are the steps to build and publish docker images to nexus repository.

a. Login to nexus server with credentials 

docker login -u username imagehub.cdc.gov:5989

b. create dockerfile with required configuration

c. build docker image locally using Dockerfile with tag which point to nexus repository.

docker build -t imagehub.cdc.gov:5989/helloworld:latest .

d. Then push the image to nexus repository 

docker push imagehub.cdc.gov:5989/helloworld:latest

 Follow the instructions given on the page How to create image stream to use above  docker image in openshift ECPaaS environment.

  • No labels