{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16754","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16754/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16754/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16754/events","html_url":"https://github.com/NixOS/nixpkgs/issues/16754","id":164080088,"number":16754,"title":"Bidirectional container access","user":{"login":"danbst","id":743057,"avatar_url":"https://avatars.githubusercontent.com/u/743057?v=3","gravatar_id":"","url":"https://api.github.com/users/danbst","html_url":"https://github.com/danbst","followers_url":"https://api.github.com/users/danbst/followers","following_url":"https://api.github.com/users/danbst/following{/other_user}","gists_url":"https://api.github.com/users/danbst/gists{/gist_id}","starred_url":"https://api.github.com/users/danbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbst/subscriptions","organizations_url":"https://api.github.com/users/danbst/orgs","repos_url":"https://api.github.com/users/danbst/repos","events_url":"https://api.github.com/users/danbst/events{/privacy}","received_events_url":"https://api.github.com/users/danbst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-06T13:50:25Z","updated_at":"2016-07-06T14:09:25Z","closed_at":null,"body":"This is more a feature request.\r\n\r\nIn my deployment I use containers as host slaves, and fill `/etc/hosts` with host and containers' hostnames in containers (so container can access other containers and host by their hostname).\r\n\r\nWould be great, if this was a container configration option, and not manually crafted `/etc/hosts`.\r\n\r\nKind of DNS, but for containers."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/230782683","html_url":"https://github.com/NixOS/nixpkgs/issues/16754#issuecomment-230782683","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16754","id":230782683,"user":{"login":"danbst","id":743057,"avatar_url":"https://avatars.githubusercontent.com/u/743057?v=3","gravatar_id":"","url":"https://api.github.com/users/danbst","html_url":"https://github.com/danbst","followers_url":"https://api.github.com/users/danbst/followers","following_url":"https://api.github.com/users/danbst/following{/other_user}","gists_url":"https://api.github.com/users/danbst/gists{/gist_id}","starred_url":"https://api.github.com/users/danbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbst/subscriptions","organizations_url":"https://api.github.com/users/danbst/orgs","repos_url":"https://api.github.com/users/danbst/repos","events_url":"https://api.github.com/users/danbst/events{/privacy}","received_events_url":"https://api.github.com/users/danbst/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T14:09:25Z","updated_at":"2016-07-06T14:09:25Z","body":"All my containers are declarative. I use\r\n```\r\n     privateNetwork = true;\r\n     hostAddress = ...\r\n     localAddress = ...\r\n```\r\nHere is sample of session:\r\n```\r\ndanbst@iron ~$\r\n$ nixos-container list\r\nd-live\r\nd-test\r\ndashboard\r\npvk-live\r\nttt\r\n\r\ndanbst@iron ~$\r\n$ sudo nixos-container run d-test -- ping d-live\r\nping: unknown host d-live\r\n```"}}
{"actor":{"display_login":"danbst"}}