{"id":21601663,"url":"https://github.com/msk4862/docker-intro","last_synced_at":"2025-03-18T13:20:00.337Z","repository":{"id":114706091,"uuid":"253459346","full_name":"msk4862/Docker-Intro","owner":"msk4862","description":"This is a simple nodeJs project to learn working of Docker containers.","archived":false,"fork":false,"pushed_at":"2022-12-12T09:55:20.000Z","size":26,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T18:29:18.601Z","etag":null,"topics":["docker","docker-turorial","nodejs-docker"],"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/msk4862.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}},"created_at":"2020-04-06T10:03:51.000Z","updated_at":"2023-03-09T02:31:23.000Z","dependencies_parsed_at":"2023-04-19T05:02:01.225Z","dependency_job_id":null,"html_url":"https://github.com/msk4862/Docker-Intro","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/msk4862%2FDocker-Intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msk4862%2FDocker-Intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msk4862%2FDocker-Intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msk4862%2FDocker-Intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msk4862","download_url":"https://codeload.github.com/msk4862/Docker-Intro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244227587,"owners_count":20419264,"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-turorial","nodejs-docker"],"created_at":"2024-11-24T19:10:11.663Z","updated_at":"2025-03-18T13:20:00.333Z","avatar_url":"https://github.com/msk4862.png","language":"JavaScript","readme":"# Docker-Introduction\nThis is a simple nodeJs project to learn working of Docker containers.\n\n\u003e ### To learn more about docker conatiners you can have a look at this [course](https://btholt.github.io/complete-intro-to-containers/).\n\n## Some docker basic commands\n* To show running containers\n\u003e `docker ps`\n* To downoad any image from [docker hub](https://hub.docker.com/)\n\u003e `docker pull \u003cimage_name\u003e`\n* Run docker image/container (`-it` flag is for interactive shell)\n\u003e `docker run -it \u003cconatiner/image\u003e`\n* To run a specific file in that container\n\u003e `docker run -it \u003cconatiner\u003e \u003cfilename\u003e`\n* To build conatiner\n\u003e `docker build -t \u003ccontainer_name\u003e \u003cpath/to/project\u003e`\n* To build conatiner\n\u003e `docker build -t \u003ccontainer_name\u003e \u003cpath/to/project\u003e`\n* To view info about your container\n\u003e `docker inspect \u003cconatiner name\u003e`\n* To expose port while running\n\u003e docker run --publish \u003cport:port\u003e\n* To delete docker container\n\u003e `docker rm \u003ccontainer\u003e`\n* To kill a running container\n\u003e `docker kill \u003cconatiner\u003e`\n* To view logs\n\u003e `docker logs \u003ccontainer\u003e`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsk4862%2Fdocker-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsk4862%2Fdocker-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsk4862%2Fdocker-intro/lists"}