{"id":19283084,"url":"https://github.com/vikashchauhan51/dockersample","last_synced_at":"2026-04-11T01:51:16.825Z","repository":{"id":58439170,"uuid":"531510612","full_name":"VikashChauhan51/DockerSample","owner":"VikashChauhan51","description":"Sample Dotnet 6 Core API app with docker","archived":false,"fork":false,"pushed_at":"2022-09-02T12:55:18.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T22:29:55.529Z","etag":null,"topics":["docker","docker-image","dockerfile","dotnet","dotnet-core","microservices"],"latest_commit_sha":null,"homepage":"","language":"C#","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/VikashChauhan51.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}},"created_at":"2022-09-01T12:32:55.000Z","updated_at":"2023-02-26T14:06:10.000Z","dependencies_parsed_at":"2023-01-17T18:15:26.578Z","dependency_job_id":null,"html_url":"https://github.com/VikashChauhan51/DockerSample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VikashChauhan51/DockerSample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2FDockerSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2FDockerSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2FDockerSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2FDockerSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VikashChauhan51","download_url":"https://codeload.github.com/VikashChauhan51/DockerSample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2FDockerSample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262302514,"owners_count":23290277,"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","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-image","dockerfile","dotnet","dotnet-core","microservices"],"created_at":"2024-11-09T21:29:39.954Z","updated_at":"2025-10-18T14:39:37.180Z","avatar_url":"https://github.com/VikashChauhan51.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DockerSample\nSample Dotnet 6 Core API app with docker.\n## Prerequisites\n- Docker should be installed. If not then please follow [this](https://gist.github.com/VikashChauhan51/fc2dad10334dc4057a24ae23220ce506) document.\n- Git should be installed.\n- Visual Studio should be installed.\n\n## Project Structure\n\n```\nC:/DockerSample\n└───src\n    └───SampleAPI\n        ├───Controllers\n        └───Properties\n```\n\n## Run in Dev\n- Run docker desktop on you system.\n- Build project and run it with `docker` profile from Visual Studio.\n\u003e Here, Visual Studio will generate docker dev image and start container automatically.\n\n## Create Docker Image from Visual Studio\n- Build project from Visual Studio.\n- Right click on Dockerfile and select `Build docker image` option from context menu.\n\n## Deploy API image in Docker\n- Run ` docker run -p 5000:80 -e SimpleProperty=\"docker!\" -e ASPNETCORE_ENVIRONMENT=\"Development\" --name=coreapi -d sampleapi` command to create container.\n- http://localhost:5000/swagger/index.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikashchauhan51%2Fdockersample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikashchauhan51%2Fdockersample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikashchauhan51%2Fdockersample/lists"}