Skip to content
Jeeten P@tel edited this page Nov 15, 2016 · 1 revision

New Setup & Note's Files

Important Setting and Note When Starting New Environments.!

🐳 Docker Basic Commands

Using SUDO If Linux

# View running containers
docker ps -a {s q f n f}
# Stop running containers 
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
# Remove  Docker images {$$}
docker rmi -f {IMAGENAME OR CODE}
# View installed  Docker Images
docker images
# Run Images with shell {$$}
docker run -i -t {IMAGENAME} /bin/bash
# Run Images with shell forward with PORT -p 80:80
docker run -i -t -p 80:80 {IMAGENAME} /bin/bash

:octocat: Git Basic Commands

# Git command --help
git clone
git status
# if not added new file   . OR -A  all file 
git add {--help more detail}  
# -m for msg what are we do with file
git commit -m "Add Change Detail"  
# now we are using push for file upload in github
git push 
# download from other pc on github same repo
git pull  

EMOJI CHEAT SHEET

Click Here For EMOJI CHEAT SHEET