{"id":23390655,"url":"https://github.com/devonestes/elixir-docker-challenge","last_synced_at":"2025-04-08T14:35:14.664Z","repository":{"id":43985636,"uuid":"243793426","full_name":"devonestes/elixir-docker-challenge","owner":"devonestes","description":"Can you configure a docker container and local node to establish a connection?!","archived":false,"fork":false,"pushed_at":"2023-01-05T08:34:56.000Z","size":1238,"stargazers_count":3,"open_issues_count":14,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T10:55:55.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/devonestes.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":"2020-02-28T15:27:09.000Z","updated_at":"2023-05-14T14:49:46.000Z","dependencies_parsed_at":"2023-02-03T20:46:34.248Z","dependency_job_id":null,"html_url":"https://github.com/devonestes/elixir-docker-challenge","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/devonestes%2Felixir-docker-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonestes%2Felixir-docker-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonestes%2Felixir-docker-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonestes%2Felixir-docker-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devonestes","download_url":"https://codeload.github.com/devonestes/elixir-docker-challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247861663,"owners_count":21008544,"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":[],"created_at":"2024-12-22T03:42:19.699Z","updated_at":"2025-04-08T14:35:14.645Z","avatar_url":"https://github.com/devonestes.png","language":"Elixir","readme":"# The \"Connect to an Erlang Node in a Docker Container\" Challenge!\n\nElixir \u0026 Erlang are made for distributed programming and networking.\nBut can you connect to a running Elixir/Erlang node in a Docker container?\n\nThis repo has three scripts in the root directory:\n  * `start_local.sh` which builds and starts a release locally\n  * `start_docker.sh` which builds and starts that same release in a Docker container\n  * `connect.sh` which connects to that running node once it's been started\n\nTo get started, just make sure you can run `start_local.sh` and then in a separate\nshell run `connect.sh` to make sure you can connect to the local node just fine.\n\nOnce you've done that the challenge begins! Shut down your two nodes, and then do\nwhatever you can to run `start_docker.sh` and then `connect.sh` and get the two\nnodes to talk to each other!\n\nFeel free to edit anything in this repo - including those scripts themeselves - to\nmake this work. Want to edit how the release is built - go for it! Need to change\nsome configuration in the app - be my guest! Want to mess around with the Dockerfile -\ngo to town!\n\nIf you've got some configuration that allows you to run `start_docker.sh` and then `connect.sh`\nthat connects those two nodes together, then make a PR here to show off your answer! Once we've\ngot a few working solutions I'll put a poll up somewhere and the community can pick their favorite\nway of making it happen.\n\nThe only rule is no cheating and running a second container and then using something\nlike `docker-compose` to handle the networking for you.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonestes%2Felixir-docker-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevonestes%2Felixir-docker-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonestes%2Felixir-docker-challenge/lists"}