Sunday, 7 May 2023
Docker - How to build image, run it and push it
how to build docker image
docker build -t passwordapi .
how to run docker image, set environment variable and expose port
docker run --name passwordapi -e ConnectionString="mongodb://localhost:27017" -p 13734:80 passwordapi
how to push image to dockerhub
docker tag passwordapi:latest nageshajab/passwordapi
docker push nageshajab/passwordapi
Subscribe to:
Post Comments (Atom)
Search This Blog
Creating your first "Alexa" Skill
Index What is Alexa What is Alexa Skill? Why is it required when Alexa already equipped with voice assistant? Dev...
About Me
Menu
-
Index What is Alexa What is Alexa Skill? Why is it required when Alexa already equipped with voice assistant? Dev...
-
Adding Azure AD B2C to React Native App Register your app in Azure active directory 1. Go to azure ad b2c, app registratio...
-
# Project file 1. .net Core project file no longer contains file or folder reference - all files and folder present within the root fol...
No comments:
Post a Comment