{"id":28247685,"url":"https://github.com/sanju1098/docker","last_synced_at":"2026-04-12T05:33:59.188Z","repository":{"id":289409690,"uuid":"908521536","full_name":"sanju1098/docker","owner":"sanju1098","description":"This setup provides a comprehensive solution for deploying a Vite.js React application using Docker and NGINX, ensuring a reliable and efficient production environment.","archived":false,"fork":false,"pushed_at":"2025-04-23T05:13:30.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T05:34:38.951Z","etag":null,"topics":["docker","docker-nginx","nginx","typescript","vitejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanju1098.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-26T09:22:03.000Z","updated_at":"2025-04-23T05:13:33.000Z","dependencies_parsed_at":"2025-04-23T06:33:45.050Z","dependency_job_id":null,"html_url":"https://github.com/sanju1098/docker","commit_stats":null,"previous_names":["sanju1098/docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanju1098/docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanju1098%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanju1098%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanju1098%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanju1098%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanju1098","download_url":"https://codeload.github.com/sanju1098/docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanju1098%2Fdocker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28133797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-30T02:00:05.476Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-nginx","nginx","typescript","vitejs"],"created_at":"2025-05-19T11:11:04.452Z","updated_at":"2025-12-30T23:04:46.875Z","avatar_url":"https://github.com/sanju1098.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🚀 Docker Container Commands\r\n\r\n| Command                                               | Purpose                                   |\r\n|--------------------------------------------------------|--------------------------------------------|\r\n| `docker build -t \u003cdocker-img\u003e . `                     | Build a docker image  |\r\n| `docker run -d -p 8080:80 \u003cimage\u003e`                    | Run container in detached mode, map ports  |\r\n| `docker run --name mycontainer -it \u003cimage\u003e bash`      | Run interactively with terminal            |\r\n| `docker ps`                                            | List running containers                    |\r\n| `docker ps -a`                                         | List all containers (including stopped)    |\r\n| `docker stop \u003ccontainer-id\u003e`                          | Stop a running container                   |\r\n| `docker start \u003ccontainer-id\u003e`                         | Start a stopped container                  |\r\n| `docker rm \u003ccontainer-id\u003e`                            | Remove a container                         |\r\n\r\n---\r\n\r\n## 📁 Volumes \u0026 Logs\r\n\r\n| Command                                               | Purpose                                |\r\n|--------------------------------------------------------|-----------------------------------------|\r\n| `docker logs \u003ccontainer-id\u003e`                          | View logs from container                |\r\n| `docker volume ls`                                    | List volumes                            |\r\n| `docker volume rm \u003cvolume\u003e`                           | Remove a volume                         |\r\n| `docker exec -it \u003ccontainer-id\u003e bash`                 | Access running container terminal       |\r\n\r\n---\r\n\r\n## 🛠️ Common Real-World Docker Commands\r\n\r\n```bash\r\n# Build the Docker image\r\ndocker build -t my-app .\r\n\r\n# Run the container in detached mode and map ports\r\ndocker run -d -p 8080:80 my-app\r\n\r\n# List running containers\r\ndocker ps\r\n\r\n# View container logs\r\ndocker logs \u003ccontainer-id\u003e\r\n\r\n# Stop a running container\r\ndocker stop \u003ccontainer-id\u003e\r\n\r\n# Remove a container\r\ndocker rm \u003ccontainer-id\u003e\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanju1098%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanju1098%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanju1098%2Fdocker/lists"}