https://github.com/nishkarshraj/docker-kubernetes
Basics of Docker and Kubernetes
https://github.com/nishkarshraj/docker-kubernetes
containerization containers docker kubernetes orchestration orchestration-framework serverless
Last synced: 8 months ago
JSON representation
Basics of Docker and Kubernetes
- Host: GitHub
- URL: https://github.com/nishkarshraj/docker-kubernetes
- Owner: NishkarshRaj
- License: mit
- Created: 2019-10-03T06:07:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T05:20:31.000Z (about 2 years ago)
- Last Synced: 2025-04-02T04:03:10.630Z (about 1 year ago)
- Topics: containerization, containers, docker, kubernetes, orchestration, orchestration-framework, serverless
- Language: Dockerfile
- Homepage: https://nishkarshraj.github.io/Docker-Kubernetes/
- Size: 2.41 MB
- Stars: 19
- Watchers: 4
- Forks: 29
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basics of Containerization using Docker and Orchestration using Kubernetes
# How to Collaborate:
1. Fork the repository to your own GitHub account.
2. Clone the repository to your local machine
```
$ git clone "https://www.github.com/{Username}/Docker-Kubernetes.git"
```
where username is your GitHub account username.
3. Create a branch where you can do your local work.
Never work on **master** branch as we do not allow master commits except by admins.
```
$ git branch {branchname}
$ git checkout branchname
```
4. Do your work and stage your changes.
```
$ git add
```
5. Commit you changes with a commit message containing your name, file(s) worked upon, changes added.
```
$ git commit -m "Name| files| Changes"
```
6. Push changes to your forked repository
```
$ git push -u origin branchname
```
# Synchronize forked repository with Upstream repository
1. Create upstream as our repository
```
$ git remote add upstream "https://www.github.com/NishkarshRaj/Docker-Kubernetes.git"
```
2. Fetch upstream changes in local machine
```
$ git fetch upstream
```
3. Switch to master branch
```
$ git checkout master
```
4. Merge changes in local machine
```
$ git merge upstream/master
```
5. Push changes to your forked GitHub repository
```
$ git push -f origin master
```