<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vipul ashawa on Medium]]></title>
        <description><![CDATA[Stories by Vipul ashawa on Medium]]></description>
        <link>https://medium.com/@hivipulhere203?source=rss-3e8c8464b51d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*z2iNl-3yjqrTg8lu</url>
            <title>Stories by Vipul ashawa on Medium</title>
            <link>https://medium.com/@hivipulhere203?source=rss-3e8c8464b51d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 04:34:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hivipulhere203/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to sell products online made at home?]]></title>
            <link>https://medium.com/@hivipulhere203/how-to-sell-products-online-made-at-home-829a270af8a5?source=rss-3e8c8464b51d------2</link>
            <guid isPermaLink="false">https://medium.com/p/829a270af8a5</guid>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[online-selling]]></category>
            <category><![CDATA[platform-to-sell-anything]]></category>
            <category><![CDATA[zupppy]]></category>
            <category><![CDATA[home-made-items]]></category>
            <dc:creator><![CDATA[Vipul ashawa]]></dc:creator>
            <pubDate>Mon, 29 Jun 2020 11:06:21 GMT</pubDate>
            <atom:updated>2020-06-29T14:50:22.923Z</atom:updated>
            <content:encoded><![CDATA[<h3>Where can you sell homemade items online with little to no starting costs?</h3><p>COVID-19 has changed many things in our life. Buying and selling is not spare from that.</p><p>In second phase of corona virus Industry has seen many drastic changes in buying patterns like packaged food, home made items, custom chocolates etc.</p><p>People have move towards locals and buying items from home sellers. even the slogan which Hon. Prime minister made “LOCAL KO VOCAL” made a huge impact in buying. That’s where Zupppy came up with great idea of providing platform for all who are creating some awesome stuff at home either it can be chocolates , art &amp; crats or let it be snacks anything.</p><p><strong>“Zupppy- </strong>A Place for everyone” is is an on-demand last mile tech friendly delivery start up with a vision to connect both offline and online Home Vendors, Retailers, Entrepreneurs, and Suppliers to the end users/customers using a singular platform/IOTs to eliminate the inefficiencies across the transit and to bridge the information gap<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WnUz1-mw4_Tl8-nKFJvpEg.png" /></figure><p>Peeping into every house we can find a real talent that someone demands thus now is the time to toot your own horn a little and register yourself as vendor for free choosing your own price for your sweat and hard work indulged in designing and making of the product.</p><p>Zupppy provides every vendor a portal with so many features to manage their business and to increase their sales. They can add their products on their own with descriptions, chosen prices and other features which they will get to know after registering their stores and accessing the portal. Zupppy is not charging any subscription fees initially to the vendors coming to register. If you want to get more details please visit the website.</p><p><a href="https://zupppy.com/"><strong>https://zupppy.com</strong></a></p><p>or Email</p><p><a href="/service/mailto:info@zupppy.com">info@zupppy.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=829a270af8a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a static site using Nginx and Docker]]></title>
            <link>https://medium.com/@hivipulhere203/deploy-a-static-site-using-nginx-and-docker-709e40448606?source=rss-3e8c8464b51d------2</link>
            <guid isPermaLink="false">https://medium.com/p/709e40448606</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[devops-tool]]></category>
            <category><![CDATA[fullstack-development]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Vipul ashawa]]></dc:creator>
            <pubDate>Sat, 18 Apr 2020 15:12:43 GMT</pubDate>
            <atom:updated>2020-04-18T15:12:43.298Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*mxheMOOSyurXDJ2DPTkDnA.png" /><figcaption>130 million websites are hosted on Nginx :)</figcaption></figure><p>In this article we will see how we can deploy a static site running on Nginx web server inside a docker.</p><p>Hope you like my last <a href="https://medium.com/@hivipulhere203/play-with-docker-for-beginners-d3c3e47401a5">article </a>about docker.With that Ialso assume that you have installed docker and you have basic idea about docker commands. If you have not than please refer to my <a href="https://medium.com/@hivipulhere203/play-with-docker-for-beginners-d3c3e47401a5">article</a> about it.</p><p>So we have now all understanding about docker and docker run command. Let’s get to the real stuff now. Deploying with docker …</p><p>To start with lets take small steps . We’re going to pull a Docker image from Docker Hub, run the container and see how easily you can setup a webserver.</p><p>The website that we are going to use is simple static webpage. I have already uploaded on <a href="https://github.com/vipul550/docker-static-site">github</a>. Please download it If you want to check what we are going to run. And image is also already hosted on <a href="https://hub.docker.com/repository/docker/vipulashawa87/docker-static-site">DockerHub</a>.</p><p>Please run below command</p><pre>$ docker run -d -P --name docker-static-site vipulashawa87/docker-static-site<br>2232a89899d7175f3f04350ead2ec80b170692e1d052b8245efc5fc1af9d24c9</pre><p>Above command will first fetch image from Dockerhub as it does not exists locally.</p><blockquote>-d : This will run image in detached mode</blockquote><blockquote>-P : This will publish all exposed ports to random ports and finally</blockquote><blockquote>— name : This will give what ever name we want to give to our container</blockquote><pre>$ docker port docker-static-site<br>80/tcp -&gt; 0.0.0.0:32769<br>443/tcp -&gt; 0.0.0.0:32768</pre><p>With the help of above command we can see ports.</p><p>You can open <a href="http://localhost:32769/">http://localhost:32769</a> in your browser.</p><p>To stop a detached container, run <strong><em>docker stop</em></strong> by giving the container ID. In this case, we can use the name docker-static-site we used to start the container.</p><pre>$ docker stop docker-static-site<br>docker-static-site</pre><p>See how simple it was :). To deploy any application just install docker and run above command and all set. You are ready to go.</p><p>Let’s now create our own image.</p><p>Docker images are basis of containers. In last <a href="https://medium.com/@hivipulhere203/play-with-docker-for-beginners-d3c3e47401a5">article</a> we pulled BusyBox image and in this article aslo we have used image which was hosted on dockerhub.</p><p>Lets now create our own image.</p><blockquote>docker images : This gives us list of local images</blockquote><blockquote>TAG : This refers to a particular snapshot of the image</blockquote><blockquote>IMAGE ID : This is the corresponding unique identifier for that image.</blockquote><pre>docker images<br>REPOSITORY                         TAG                 IMAGE ID            CREATED             SIZE<br>vipulashawa87/docker-static-site   latest              c99bb90051ae        21 minutes ago      127MB<br>nginx                              latest              e791337790a6        27 hours ago        127MB<br>hello-world-java                   latest              783a74ea5363        2 days ago          126MB<br>vipulashawa87/learning             latest              c380780b2c06        2 days ago          942MB<br>python                             3                   d47898c6f4b0        2 weeks ago         933MB<br>openjdk                            8-jdk-alpine        a3562aa0b991        11 months ago       105MB</pre><p>Images are same as github repository. you can version them commit them. by default it takes :latest image from registry.</p><blockquote>docker search : You can search for images directly from the command line using</blockquote><h3>Dockerfile</h3><p>A <a href="https://docs.docker.com/engine/reference/builder/">Dockerfile</a> is a simple text file that contains a list of commands that the Docker client calls while creating an image. It’s a simple way to automate the image creation process. The <a href="https://docs.docker.com/engine/reference/builder/#from">commands</a> you write in a Dockerfile are <em>almost</em> identical to their equivalent Linux commands. This means there is no such new sysntax for creating docker file.</p><p>The <a href="https://github.com/vipul550/docker-static-site">github</a> does contain a Dockerfile but, we’ll create one from scratch. To start, create a new blank file in our favorite text-editor and save it in the <strong>same</strong> folder by the name of Dockerfile.</p><p>Lets first specify base image</p><pre>FROM nginx</pre><p>Next command is to copy files and dependancy</p><pre>COPY html /usr/share/nginx/html</pre><p>The next thing we need to specify is the port number that needs to be exposed</p><pre>EXPOSE 80</pre><p>Last step to write command to run the nginx in frontend</p><pre>CMD [&quot;nginx&quot;,&quot;-g&quot;,&quot;daemon off;&quot;]</pre><p>Now our docker image is ready</p><pre>FROM nginx<br># set a directory for the app<br>COPY html /usr/share/nginx/html<br># define the port number the container should expose<br>EXPOSE 80<br># run the command<br>CMD [&quot;nginx&quot;,&quot;-g&quot;,&quot;daemon off;&quot;]</pre><p>Now as our Dockerfile is ready we are ready to build our image.</p><p>The docker build command does all job of creating a Docker image from a Dockerfile.</p><p>The section below shows you the output of running the same. Before you run the command yourself (don’t forget the period), make sure to replace my username with yours. This username should be the same one you created when you registered on <a href="https://hub.docker.com/">Docker hub</a>. If you haven’t done that yet, please go ahead and create an account. The docker build command is quite simple - it takes an optional tag name with -t and a location of the directory containing the Dockerfile.</p><pre>$docker build -t yourusername/docker-static-site .<br>Sending build context to Docker daemon  115.2kB<br>Step 1/4 : FROM nginx<br> ---&gt; e791337790a6<br>Step 2/4 : COPY html /usr/share/nginx/html<br> ---&gt; adc579538507<br>Step 3/4 : EXPOSE 80<br> ---&gt; Running in 0e15aa0c8f9c<br>Removing intermediate container 0e15aa0c8f9c<br> ---&gt; 2df3f330b34f<br>Step 4/4 : CMD [&quot;nginx&quot;,&quot;-g&quot;,&quot;daemon off;&quot;]<br> ---&gt; Running in d6ae984d9eea<br>Removing intermediate container d6ae984d9eea<br> ---&gt; e8281f82e880<br>Successfully built e8281f82e880<br>Successfully tagged vipulashawa87/docker-static-site:latest</pre><p>Now lets run the image and check if its running</p><pre>$docker run -d -P --name docker-static-site vipulashawa87/docker-static-site<br>9a402fa6fa79e1709539b416dd16828216fded9d1c268a3315951448a8856c27<br>$docker port docker-static-site <br>80/tcp -&gt; 0.0.0.0:32770</pre><p>Congratulations you have created your first image.</p><h3>Docker push</h3><p>Let’s use <a href="https://hub.docker.com/">Docker Hub</a> to publish the image. To publish, just type</p><pre>$ docker push yourusername/docker-static-site</pre><p>If this is the first time you are pushing an image, the client will ask you to login. Provide the same credentials that you used for logging into Docker Hub.</p><pre>$ docker login<br>Username: yourusername<br>WARNING: login credentials saved in /Users/yourusername/.docker/config.json<br>Login Succeeded</pre><p>Remember to replace the name of the image tag above with yours. It is important to have the format of username/image_name so that the client knows where to publish.</p><p>Once that is done, you can view your image on Docker Hub. For example, here’s the <a href="https://hub.docker.com/repository/docker/vipulashawa87/docker-static-site">web page</a> for my image.</p><p>Now any one who has docker installed can pull your image and run it on their machine.</p><p>Now you have seen how docker remove all the hard work to setup environment. and how easily you can run your web app.</p><h4>Docker is really awesome.</h4><p>If you liked this article give claps 👏. This will motivate me to write more. Please add comments if you have any questions or suggestions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=709e40448606" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Play with Docker for beginners]]></title>
            <link>https://medium.com/@hivipulhere203/play-with-docker-for-beginners-d3c3e47401a5?source=rss-3e8c8464b51d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3c3e47401a5</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops-training]]></category>
            <category><![CDATA[docker-image]]></category>
            <dc:creator><![CDATA[Vipul ashawa]]></dc:creator>
            <pubDate>Fri, 17 Apr 2020 06:11:34 GMT</pubDate>
            <atom:updated>2020-04-18T15:21:25.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b45WH7HHExZq88GsFxtNDA.png" /></figure><blockquote><strong>How wiki defines docker</strong></blockquote><blockquote>“<strong>Docker</strong> is a set of <a href="https://en.wikipedia.org/wiki/Platform_as_a_service">platform as a service</a> (PaaS) products that uses <a href="https://en.wikipedia.org/wiki/OS-level_virtualization">OS-level virtualization</a> to deliver software in packages called containers.”</blockquote><p>In simple words docker is a tool that allows developers and sysadmins to deploy their distributed applications to run on host operating system. It is now really easy to build , run and share your application using containers.The use of containers to deploy applications is called <em>containerization.</em></p><h3><strong>What are Containers ?</strong></h3><p>Fundamentally, a container is nothing but a running process, with some added encapsulation features applied to it in order to keep it isolated from the host and from other containers.</p><h3><strong>What is Image?</strong></h3><p>Each container interacts with its own private filesystem; this filesystem is provided by a Docker <strong>image</strong>. An image includes everything needed to run an application — the code or binary, runtimes, dependencies, and any other filesystem objects required.</p><h3><strong><em>Let’s start</em></strong></h3><p><strong>Installing docker on your machine</strong></p><p>Until a few releases ago, running Docker on OSX and Windows was quite a pain. however, Docker has improved the on-boarding experience for its users on these OSes, so running docker on this OSes are very easy now.</p><p>The <em>getting started</em> guide on Docker has detailed instructions for setting up Docker on <a href="https://docs.docker.com/docker-for-mac/install">Mac</a>, <a href="https://docs.docker.com/install/linux/docker-ce/ubuntu">Linux</a> and <a href="https://docs.docker.com/docker-for-windows/install">Windows</a>.</p><p>To check your docker installation run below command.</p><pre>$ docker run hello-world<br><br>Hello from Docker.<br>This message shows that your installation appears to be working correctly.<br>...</pre><p>Start with Docker run command.</p><p>Play with BusyBox</p><p>Now as you have everything installed in this section we will get our hands dirty. We will run a <a href="https://en.wikipedia.org/wiki/BusyBox">BusyBox</a> container on our system.</p><p>To do this let’s run below command</p><pre>$ docker pull busybox<br></pre><p>pull command will pull required image from <a href="https://hub.docker.com/explore/">Docker Registry</a> and save on your system.</p><p>Now as you have BusyBox image on your system you can run via below command</p><pre>$ docker run busybox</pre><p>Nothing happened ? In background a lot of things happened. When you hit run command the docker client finds the image and loads up the container and run command in that container. as we have not provided any command docker did not run any we can pass any command at the end of above and it will run same on the container for example “ls” , “echo” etc.</p><h3>Time to check docker -ps command.</h3><p>As we know containers are really fast. docker -ps command shows all containers which are currently running.</p><pre>$ docker ps<br>CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES</pre><p>As there are not containers running it shows blank.</p><p>Lets try a different variant of this</p><pre>$ docker ps -a<br>CONTAINER ID        IMAGE               COMMAND                CREATED              STATUS                       PORTS               NAMES<br>3ff4aad75cf9        hello-world-java    &quot;java -jar /app.jar&quot;   About a minute ago   Exited (130) 5 seconds ago                       vigorous_tu</pre><p>So what we see above is a list of all containers that we ran. Do notice that the <strong>STATUS </strong>column shows that these containers exited a few minutes ago.</p><p>To find more about docker run use docker run — help command.</p><p>Before moving ahead lets try deleting containers. so from previous command we got to know container are there even after they exited. so to remove containers run below command</p><pre>$ docker rm 3ff4aad75cf9<br>3ff4aad75cf9</pre><p>On success you will see id echo back.</p><p>Docker container prune can be used for the same purpose.</p><p>That’s It for today. Lets connect again where <a href="https://medium.com/@hivipulhere203/deploy-a-static-site-using-nginx-and-docker-709e40448606?sk=f2118029e3dce278f3c03e0eb0c865d3">we will see creating own image and doing containerization for static site.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3c3e47401a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>