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 3 Next »

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. build docker image locally using Dockerfile with tag which point to nexus repository.

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

c. Then push the image to nexus repository 

docker push imagehub.cdc.gov:5989/helloworld:latest
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.