-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jeeten P@tel edited this page Nov 15, 2016
·
1 revision
Important Setting and Note When Starting New Environments.!
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# 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