{"id":15065976,"url":"https://github.com/verlandz/learn-docker","last_synced_at":"2026-02-17T08:03:12.777Z","repository":{"id":53112896,"uuid":"196218941","full_name":"verlandz/learn-docker","owner":"verlandz","description":"Learn docker","archived":false,"fork":false,"pushed_at":"2021-09-03T04:05:45.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-24T09:25:35.955Z","etag":null,"topics":["docker","docker-compose","docker-machine","docker-swarm","dockerhub","golang","redis-cli"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/verlandz.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}},"created_at":"2019-07-10T14:19:36.000Z","updated_at":"2024-04-09T09:28:16.000Z","dependencies_parsed_at":"2022-09-07T18:10:19.394Z","dependency_job_id":null,"html_url":"https://github.com/verlandz/learn-docker","commit_stats":null,"previous_names":["verlandz/docker"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/verlandz/learn-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verlandz%2Flearn-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verlandz%2Flearn-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verlandz%2Flearn-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verlandz%2Flearn-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verlandz","download_url":"https://codeload.github.com/verlandz/learn-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verlandz%2Flearn-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29537255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-compose","docker-machine","docker-swarm","dockerhub","golang","redis-cli"],"created_at":"2024-09-25T00:58:46.813Z","updated_at":"2026-02-17T08:03:12.749Z","avatar_url":"https://github.com/verlandz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker\n\n### Introduction\n- [What is docker ?](https://opensource.com/resources/what-docker) \n- [What is docker container ?](https://www.sdxcentral.com/containers/definitions/what-is-docker-container/)\n- [Why docker ?](https://www.docker.com/why-docker)\n- [Official Docs](https://docs.docker.com/)\n\n### Purpose\nMake a simple project with `docker` and help to learn the basics.\n\n### Objective\nThis project will make 2 containers: 1 app \u0026 1 datastore(redis). The app will get data from redis and show it in the response. For redis image, we can download it from the official [docker registry](https://hub.docker.com/_/redis), but for app image, we will make it by ourself. The language to make the app is `Golang` aka `Go`. \n\n***You can use another language than `Go`, but this project will focus on using `Go`.***\n\n### Author Setup\n- OS: Ubuntu 16.04.6 LTS\n- Docker: Docker version 18.09.7, build 2d0083d (Docker Engine - Community)\n- Docker-Compose: docker-compose version 1.24.1, build 4667896b\n- Docker-Machine: docker-machine version 0.16.0, build 702c267f\n- Golang: go version go1.13 linux/amd64\n\n### Docker Images\n- [redis:6.0.9](https://hub.docker.com/layers/redis/library/redis/6.0.9/images/sha256-e4b1fffb060afd6f31955f7af1ac7e68270fdc3c4c798ec3a93def617c68f481?context=explore)\n- [go:1.11](https://hub.docker.com/layers/golang/library/golang/1.11/images/sha256-cdb2c594a968289dcb9b7f6d3ec31820f9c9dc5687dd62ce8f34e923bd39a2b3?context=explore)\n- [verlandz/docker-app:1.0](https://hub.docker.com/repository/docker/verlandz/docker-app) -\u003e we'll create this\n\n***It's a common pratice to not use latest tag***\n\n### Prerequisite\n- [Install docker](https://phoenixnap.com/kb/how-to-install-docker-on-ubuntu-18-04)\n- [Install docker-compose](https://docs.docker.com/compose/install/)\n- [Install docker-machine](https://docs.docker.com/machine/install-machine/)\n- [Install golang](https://tecadmin.net/install-go-on-ubuntu/) (except go1.11)\n- [Basic golang](https://golang.org/doc/)\n- [Basic cmd redis](https://redis.io/)\n\nUsually docker need to be super user, so try to `sudo su -` first.\n\n***FAQ***\u003cbr\u003e\n**Q:** Why we need to install go to our device if we can pull go image to our docker ?\u003cbr\u003e\n**A:** The reason is for comparison version. So in docker, we're using go1.11 but in local we're using another version. Also having install go in your device make a guarantee that you understand how to manage `GOPATH` and `GOROOT`, we need it to undestand for `dockerfile`.\n\n# Walkthrough\nYou can follow from this [docs](https://github.com/verlandz/docker/tree/master/docs)\u003cbr\u003e\n***If you don't see `root@verlandz` in sample cmd, that's mean it's not running on the `root`***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverlandz%2Flearn-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverlandz%2Flearn-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverlandz%2Flearn-docker/lists"}