collabnix / community

Collabnix Contributors Site
https://community.collabnix.com
Apache License 2.0
5 stars 5 forks source link

Docker related DevOps Project. #54

Closed 0904-mansi closed 2 years ago

0904-mansi commented 2 years ago

Hello @ajeetraina sir !! This is an overview of my project. Please check it out if it's ok i will complete my explanation with jenkins 2 same as docker. Thank You..

ajeetraina commented 2 years ago

Hello @0904-mansi It is important to understand the directory structure of this community site:

pwd
/content/en/docs
ajeetraina@Ajeets-MacBook-Pro docs % tree
.
├── _index.md
├── ansible
│   └── _index.md
├── docker
│   ├── _index.md
│   └── jenkins
│       └── _index.md
├── grafana
│   └── _index.md
├── images
│   └── logos
│       ├── ansible.png
│       ├── docker.png
│       ├── grafana.png
│       ├── kubernetes.png
│       ├── prometheus.png
│       └── terraform.png
├── kubernetes
│   └── _index.md
├── prometheus
│   └── _index.md
└── terraform
    └── _index.md

9 directories, 14 files
ajeetraina@Ajeets-MacBook-Pro docs % 

First, you need to add your content to specific technology and this is in the form of folders. Say, you want to contribute towards Docker, then you need to go to docker folder first:

 pwd 
/Users/ajeetraina/projects/community/content/en/docs/docker
ajeetraina@Ajeets-MacBook-Pro docker % tree
.
├── _index.md
└── jenkins
    └── _index.md

1 directory, 2 files

Then under that you need to create a directory called jenkins 2 and then dump the content into it by creating a file called _index.md.

Hope it helps.

ajeetraina commented 2 years ago

Also, you mentioned the command:

docker build . -t getintodevops-hellonode:1

Where is the Dockerfile? How would anyone find the location of Dockerfile?

0904-mansi commented 2 years ago

Also, you mentioned the command:

docker build . -t getintodevops-hellonode:1

Where is the Dockerfile? How would anyone find the location of Dockerfile?

Ok @ajeetraina sir, I will fix everything as you mentioned above. Thank you

ajeetraina commented 2 years ago

Keep contributing. @0904-mansi