Skip to content

jcasman/vivek-chainguard-image

 
 

Repository files navigation

Uploading or Publishing Image to Docker and AWS ECR

This guide outlines the steps to upload or publish an image to Docker and AWS EMR.

Upload to Docker and AWS ECR

# Step 1: Build the Docker Image
docker build -t NAME_1 .

# Step 2: Run the Docker Image
docker run -p PORT NAME_1 .

# Step 3: Tag the Image
docker tag local-image:tagname username/repository:tagname

# Step 4: Log in to Docker
docker login

# Step 5: Push the Image to Docker Hub
docker push username/repository:tagname

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 35.1%
  • HTML 34.3%
  • Python 12.9%
  • CSS 10.5%
  • Dockerfile 7.2%