{"id":19327087,"url":"https://github.com/nishkarshraj/dockerfile-basics","last_synced_at":"2025-04-22T21:30:22.502Z","repository":{"id":99063948,"uuid":"198394620","full_name":"NishkarshRaj/Dockerfile-Basics","owner":"NishkarshRaj","description":"Docker Containers and Images using Go and DockerFile.","archived":false,"fork":false,"pushed_at":"2023-12-15T17:39:26.000Z","size":230,"stargazers_count":6,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T04:03:26.330Z","etag":null,"topics":["docker","docker-container","docker-image","docker-machine","dockerfiles","go"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NishkarshRaj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-23T09:10:01.000Z","updated_at":"2023-05-05T20:20:16.000Z","dependencies_parsed_at":"2023-12-15T18:49:55.415Z","dependency_job_id":null,"html_url":"https://github.com/NishkarshRaj/Dockerfile-Basics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishkarshRaj%2FDockerfile-Basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishkarshRaj%2FDockerfile-Basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishkarshRaj%2FDockerfile-Basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishkarshRaj%2FDockerfile-Basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NishkarshRaj","download_url":"https://codeload.github.com/NishkarshRaj/Dockerfile-Basics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250328037,"owners_count":21412545,"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-container","docker-image","docker-machine","dockerfiles","go"],"created_at":"2024-11-10T02:15:57.037Z","updated_at":"2025-04-22T21:30:22.136Z","avatar_url":"https://github.com/NishkarshRaj.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker\nDocker Containers and Images using Go and DockerFile.\n\n## Content:\n\n1. Dockerfiles\n  * [FROM and RUN command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/1_from_run_keyword)\n  * [CMD command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/2_CMD)\n  * [COPY command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/3_Copy)\n  * [ADD command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/4_Add)\n  * [WORKDIR command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/5_WORKDIR)\n  * [ENTRYPOINT command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/6_Entrypoint)\n  * [ENV command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/7_Env)\n  * [LABEL command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/8_Label)\n  * [HEALTHCHECK command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/9_HealthCheck)\n  * [STOPSIGNAL command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/10_StopSignal)\n2. Persistent Storage\n  * [Volume](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/Persistent%20Storage/Volume)\n  * [Mount](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/Persistent%20Storage/Mount)\n3. Networking\n  * [EXPOSE command](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/Networking/1-EXPOSE)\n  * [Subnetting Network](https://github.com/NishkarshRaj/Dockerfile-Basics/tree/master/Networking/Network)\n\n# Basics of Dockerfile\n  \n## Creation of Dockerfile\n\n**Syntax:**\n```\nvi Dockerfile\n```\n   \n## Building a Dockerfile to create Docker Image\n**Syntax:**\n```docker\ndocker build -t \u003cdocker image name\u003e \u003cpath of Dockerfile\u003e\n```\n*Generally, Dockerfiles are stored on current path of build and must be specified by wildcard character .*\n\n## Running a Docker Image to create Docker Container\n**Syntax:**\n```docker\ndocker run -it --name \u003cDocker Container Name\u003e --rm \u003cDocker image name\u003e \u003clist of executable commands separated by ;\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishkarshraj%2Fdockerfile-basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnishkarshraj%2Fdockerfile-basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishkarshraj%2Fdockerfile-basics/lists"}