Posts

Showing posts from July, 2021

Docker’s Basic Tutorial

  ***** Docker’s Basic Tutorial ***** Step 1) Create an account in Docker Hub, URL:- https://hub.docker.com/ (Remember Docker ID and Password) Step 2) Install Docker in your system, different installer for multiple OS. URL:- https://docs.docker.com/get-docker/ Step 3) Login into Docker app using Docker hub account(using Docker ID and Password) Step 4) Open Win PowerShell in Admin mode (I don’t know about MAC....But I am sure there will be something to run commands) Step 5) Now to check installed Docker version Run cmd => "docker --version" Result => "Docker version 20.10.7, build f0df350" Note => You might get a different version, depends on what is installed at the current time. Step 6) Now let’s try to run an image....but wait I don’t have any image thing in my system...So How can I?... Solution:- Simply run below cmd. Run cmd => "docker run hellow-world" Result => Unable to find image 'hellow-world: latest' locally docker: Error r...

Git and GitHub Tutorial

 ***** Git and GitHub Tutorial ***** Steps to Practice Cmd:-  1) Create an account in GitHub and create one repository with a readme file. 2) Download and install git for your OS. 3) Open Git Bash cmd and check git version  cmd => $ git --version 4) You can setup git credentials using cmd=> git config --global user.name "YourUsername"   and  cmd=> git config --global user.email "YourEmailID" 5) Move to the desired directory using the cd command 6) Now to clone the repository from Github  cmd => git clone <github url of your repo>    .....  ex => git clone https://github.com/rajmote/helpdeskui.git 7) check what you got from GitHub  cmd=> ls    (It will give you readme.txt file in the list.) 8) Now check the status by  cmd => git status   (On branch main Your branch is up to date with 'origin/main'.) 9) Now add your project or project files in a directory which you want to check-in and hi...