{"id":18657947,"url":"https://github.com/lightsofapollo/docker-env","last_synced_at":"2025-09-08T00:04:17.764Z","repository":{"id":13426053,"uuid":"16114807","full_name":"lightsofapollo/docker-env","owner":"lightsofapollo","description":"My docker development environment for OSX (works on linux too)","archived":false,"fork":false,"pushed_at":"2014-09-05T18:54:33.000Z","size":216,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-18T01:07:09.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/lightsofapollo.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":"2014-01-21T19:08:02.000Z","updated_at":"2014-11-26T17:57:13.000Z","dependencies_parsed_at":"2022-09-10T12:50:31.869Z","dependency_job_id":null,"html_url":"https://github.com/lightsofapollo/docker-env","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lightsofapollo/docker-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fdocker-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fdocker-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fdocker-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fdocker-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightsofapollo","download_url":"https://codeload.github.com/lightsofapollo/docker-env/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fdocker-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274113090,"owners_count":25224335,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2024-11-07T07:30:45.765Z","updated_at":"2025-09-08T00:04:17.746Z","avatar_url":"https://github.com/lightsofapollo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Docker Environment\n\n[boot2docker](https://github.com/steeve/boot2docker) is awesome I would\ncheck that out instead if your just getting started.\n\nI wanted something that I could leave running forever (and manage) with\nvagrant (rather then virtualbox) since that is what I am\ncomfortable with.\n\nIts important to node that you CAN use volumes (-v) from your OSX host\nas long as your somewhere within $HOME since an NFS mount is created\nbetween your home and the VM (this is amazing btw).\n\n## Installation\n\nStart by cloning this repo\n\n```sh\ngit clone https://github.com/lightsofapollo/docker-env\ncd docker-env\n```\n\nAll below instructions assume a working directory inside docker-env\n\n### Vagrant\n\nfollow instructions here: [vagrant](http://www.vagrantup.com/)\n\n### Docker\n\nDocker has both a server component and a client component. The server\ncomponent (where the container magic happens) will occur inside the\nvagrant image. We want the client version.\n\nDownload the platform specific binary and place it on your PATH.\n\n  - OSX: https://get.docker.io/builds/Darwin/x86_64/docker-latest \n  - LINUX: https://get.docker.io/builds/Linux/x86_64/docker-latest\n\nFor example on OSX:\n\n```sh\ncurl https://get.docker.io/builds/Darwin/x86_64/docker-latest \u003e /usr/local/bin/docker\n```\n\nLinux:\n\n```sh\ncurl https://get.docker.io/builds/Linux/x86_64/docker-latest \u003e /usr/local/bin/docker\n```\n\n### Start vagrant\n\n```sh\n# from the root\nvagrant up\n```\n\n### Add the DOCKER_HOST to your environment variables\n\nThe `Vagrantfile` uses a private network configuration set to ip 192.168.50.10.\nThis means the `DOCKER_HOST` can be the same across installations and\nyou can easily each the docker host and containers within that host.\n\n\nThere is some manual configuration needed to get the benefits of this\n\n```sh\n# Add this environment variable somewhere (just ip:port no protocol)\nDOCKER_HOST=192.168.50.10:4243\n```\n\nFor example I added this to my .zshrc\n\n```sh\n#... stuff in zshrc\nexport DOCKER_HOST=tcp://192.168.50.10:4243\n```\n\n```sh\n# reload zsh config\nzsh\n```\n\n### Try it out\n\nRun this:\n\n```sh\ndocker ps\n```\n\nYou should see something like this as a result:\n\n```\nCONTAINER ID        IMAGE                        COMMAND                CREATED             STATUS              PORTS                     NAMES\n```\n\nAdditionally a host entry can be added if you do not want to remember\nthat ip address:\n\n```\n192.168.50.10 docker\n```\n\n### Usage\n\nFollow the [docker docs](http://docs.docker.io/en/latest/)! Your all setup now\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2Fdocker-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightsofapollo%2Fdocker-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2Fdocker-env/lists"}