{"id":48987373,"url":"https://github.com/sagarkpanda/fakeweb","last_synced_at":"2026-04-18T13:10:23.124Z","repository":{"id":158551376,"uuid":"570805784","full_name":"sagarkpanda/fakeweb","owner":"sagarkpanda","description":"Docker Build and Publish to Dockerhub and Nexus Repository","archived":false,"fork":false,"pushed_at":"2026-03-06T17:44:52.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-06T21:00:20.916Z","etag":null,"topics":["devops","docker","dockerhub","nexus-repository","project"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/sagarkpanda.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}},"created_at":"2022-11-26T07:19:13.000Z","updated_at":"2026-03-06T17:44:56.000Z","dependencies_parsed_at":"2024-02-03T11:49:28.454Z","dependency_job_id":null,"html_url":"https://github.com/sagarkpanda/fakeweb","commit_stats":null,"previous_names":["sagarcodectrl/fakeweb","sagarkpanda/fakeweb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sagarkpanda/fakeweb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkpanda%2Ffakeweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkpanda%2Ffakeweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkpanda%2Ffakeweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkpanda%2Ffakeweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagarkpanda","download_url":"https://codeload.github.com/sagarkpanda/fakeweb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkpanda%2Ffakeweb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31969983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["devops","docker","dockerhub","nexus-repository","project"],"created_at":"2026-04-18T13:10:13.576Z","updated_at":"2026-04-18T13:10:23.108Z","avatar_url":"https://github.com/sagarkpanda.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- \u003ch1\u003e Kubenetes Deployment using Argo CD \u003c/h1\u003e --\u003e\n\u003ch1\u003e Build and Push docker image to Docker Hub/Nexus Repositoy \u003c/h1\u003e\n\n\u003cb\u003e\n  \n🦊 View the process in [GitLab](https://gitlab.com/sagarkpanda/fakeweb)\n\n\u003c/b\u003e\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"NGINX\" width=\"270px\" src=\"https://raw.githubusercontent.com/sagarkrp/sagarkrp/main/images/docker.svg\" style=\"padding-right:10px;\" /\u003e\n\u003c/p\u003e\n\u003c/br\u003e\n\n## Read the whole Article here: \n## Docker hub: \u003ca href = \"https://medium.com/@sagarkrp/docker-chapter-2-build-and-push-your-first-docker-image-7d7f9d71f1ca\" target =\"_blank\"\u003e\u003cimg src = \"https://img.shields.io/badge/medium-%23E4405G.svg?\u0026style=for-the-badge\u0026logo=medium\u0026logoColor=black\u0026white\" height=\"22px\"\u003e\u003c/a\u003e\n\n## Nexus: \u003ca href = \"https://medium.com/@sagarkrp/how-to-push-docker-images-to-nexus-repository-using-jenkins-4cc77d247a65\" target =\"_blank\"\u003e\u003cimg src = \"https://img.shields.io/badge/medium-%23E4405G.svg?\u0026style=for-the-badge\u0026logo=medium\u0026logoColor=black\u0026white\" height=\"22px\"\u003e\u003c/a\u003e\n\n\u003ch3\u003e- Build the Image \u003c/h3\u003e\n\n- To build the image, we need to run the docker build command: ```docker build -t \u003cname:tag\u003e . ```\n\n```docker build -t fbweb:1.0 . ```\n\n- After Entering this command, we shall see a updates like these:\n\n``` └──| docker build -t fbweb:1.0 .\n[+] Building 22.3s (6/8)                                                                                                         \n =\u003e [internal] load .dockerignore                                                                                           0.0s\n =\u003e =\u003e transferring context: 2B                                                                                             0.0s\n =\u003e [internal] load build definition from Dockerfile                                                                        0.0s\n =\u003e =\u003e transferring dockerfile: 205B                                                                                        0.0s\n =\u003e [internal] load metadata for docker.io/library/ubuntu:22.10                                                             4.1s\n =\u003e [1/4] FROM docker.io/library/ubuntu:22.10@sha256:a82eebb42083a134e009a6b81a7e5d2eecc37112fa8ae40642bd3c5153b7e4f0       2.3s\n =\u003e =\u003e resolve docker.io/library/ubuntu:22.10@sha256:a82eebb42083a134e009a6b81a7e5d2eecc37112fa8ae40642bd3c5153b7e4f0       0.0s\n =\u003e =\u003e sha256:a82eebb42083a134e009a6b81a7e5d2eecc37112fa8ae40642bd3c5153b7e4f0 1.13kB / 1.13kB                              0.0s\n =\u003e =\u003e sha256:8c8f22bacbfba9678edddcc3b6d1e56cce02eff9cbf27ab46116de30cb79a3d6 424B / 424B                                  0.0s\n =\u003e =\u003e sha256:558d44db75c8f69c29f427cf88e6a71c39320f7607584baa6860f6e4f6121892 2.30kB / 2.30kB                              0.0s\n =\u003e =\u003e sha256:5c19388d38e1ea904672812dd0aac505220c9254e2621a1684e0fe29e2dba80e 26.70MB / 26.70MB                            1.7s\n =\u003e =\u003e extracting sha256:5c19388d38e1ea904672812dd0aac505220c9254e2621a1684e0fe29e2dba80e                                   0.5s\n =\u003e [internal] load build context                                                                                           0.0s\n =\u003e =\u003e transferring context: 76.93kB                                                                                        0.0s\n =\u003e [2/4] RUN apt update -y                                                                                                11.7s\n =\u003e [3/4] RUN apt install lighttpd -y                                                                                       4.2s \n =\u003e =\u003e # 0 upgraded, 14 newly installed\n \n ```\n\n- If there are no errors, this will will be completed with this kind of message:\n\n```\n=\u003e exporting to image                                                                                                      0.3s \n =\u003e =\u003e exporting layers                                                                                                     0.3s \n =\u003e =\u003e writing image sha256:9443bff58bb37cea0eec454cb7628f1ab6de13328f7533d9d55772df77b691d6                                0.0s \n =\u003e =\u003e naming to docker.io/library/fbweb:1.0                                                                                0.0s \n```\n\nTo view the list of Images we can use : docker images command.\n\n``` \n└──| docker images\nREPOSITORY   TAG       IMAGE ID       CREATED        SIZE\nfbweb        1.0       bcb23d33bf82   1 minutes ago   163MB \n```\n\u003ch2\u003e - Running the application: \u003c/h2\u003e\n\n- Now lets run this image with the following command:\n\n```\n──| docker run --name fb -td -p 80:80 fbweb:1.0 \n551eddaa8434ac7665e85bf7e959493eb21783ad4f332fdcc5b678e5769ae233\n\n──| docker ps\nCONTAINER ID   IMAGE       COMMAND                  CREATED         STATUS         PORTS                               NAMES\n551eddaa8434   fbweb:1.0   \"/bin/sh -c 'service…\"   6 seconds ago   Up 6 seconds   0.0.0.0:80-\u003e80/tcp, :::80-\u003e80/tcp   fb\n\n```\n\n- Lets Browse our application:\n\n![Screenshot-2023041514_1](https://user-images.githubusercontent.com/42873729/232205427-ff29a73a-2f36-4367-b391-50de702f6c3d.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarkpanda%2Ffakeweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagarkpanda%2Ffakeweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarkpanda%2Ffakeweb/lists"}