How to Install Python from command line and Docker on Linux
Introduction We will see how we can install Python from command line using pyenv…
March 07, 2018
Tag the image, by seeing its image id, from docker images command
docker tag 04d7cc352e96
Finally, push your image
docker push
<h3>Problem</h3>
With above approach, the image will be pushed in path: /<USERNAME>/<my_image_name>
<h3>Example:</h3>
If my username is: goravsingal, and my_image_name=php-apache-mongo
The image will not be published in organization's space. Rather in user's space.
<h2>Solution</h2>
First build the image docker build -t <my_image_name> .
Tag the image, by seeing its image id, from docker images command
docker tag 04d7cc352e96 <organization_name>/<my_image_name>:
Finally, push your image docker push <organization_name>/<my_image_name> </my_image_name></organization_name></my_image_name></organization_name></my_image_name>
<h3>Example:</h3>
My org name is: gyanblog, my_image_name is php-apache-mongo
Build Image docker build -t php-apache-mongo .
Tag image docker tag 04d7cc352e96 gyanblog/php-apache-mongo:latest
Push in organization docker push gyanblog/php-apache-mongo
Finally, my path becomes:<a href="https://hub.docker.com/r/gyanblog/php-apache-mongo/">https://hub.docker.com/r/gyanblog/php-apache-mongo/</a>
Bingo!
Introduction We will see how we can install Python from command line using pyenv…
Pylint is an excellent tool to have good quality code. This post is not about…
After 2 days, there was my demo. I deployed my nodejs code on lambda function…
Introduction This post is about hosting ElasticSearch cluster on dockerised…
Introduction In this post, we will see: use Grafana Community Edition (Free…
In previous post (Trigger Email on Blob Trigger), we saw how we can create such…
Introduction This post has the complete code to send email through smtp server…
Introduction In a normal email sending code from python, I’m getting following…
Introduction In one of my app, I was using to talk to . I have used some event…
Introduction So you have a Django project, and want to run it using docker image…
Introduction It is very important to introduce few process so that your code and…
Introduction In this post, we will see a sample Jenkin Pipeline Groovy script…