How to add alt attribute of images in all of my drupal articles or other content type
I have a custom content type, and there are around 2000 number of nodes in my…
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!
I have a custom content type, and there are around 2000 number of nodes in my…
While writing JUnit test cases, we encounter cases like we want to initialize a…
Introduction This post is about hosting MongoDB replica set cluster with…
Introduction There are some cases, where I need another git repository while…
Introduction I had to write a CICD system for one of our project. I had to…
The simplest way to install driver for php is using pecl. When I tried to run…
Introduction In this post we will see following: How to schedule a job on cron…
Introduction There are some cases, where I need another git repository while…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction I have an automation script, that I want to run on different…
Introduction I had to write a CICD system for one of our project. I had to…
Introduction Java log4j has many ways to initialize and append the desired…