{"action":"created","issue":{"url":"https://api.github.com/repos/libgolang/docker-volume-linode/issues/4","repository_url":"https://api.github.com/repos/libgolang/docker-volume-linode","labels_url":"https://api.github.com/repos/libgolang/docker-volume-linode/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/libgolang/docker-volume-linode/issues/4/comments","events_url":"https://api.github.com/repos/libgolang/docker-volume-linode/issues/4/events","html_url":"https://github.com/libgolang/docker-volume-linode/pull/4","id":341128203,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMzc1NTkx","number":4,"title":"use chiefy/linodego to access Linode APIv4","user":{"login":"displague","id":317653,"node_id":"MDQ6VXNlcjMxNzY1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/317653?v=4","gravatar_id":"","url":"https://api.github.com/users/displague","html_url":"https://github.com/displague","followers_url":"https://api.github.com/users/displague/followers","following_url":"https://api.github.com/users/displague/following{/other_user}","gists_url":"https://api.github.com/users/displague/gists{/gist_id}","starred_url":"https://api.github.com/users/displague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/displague/subscriptions","organizations_url":"https://api.github.com/users/displague/orgs","repos_url":"https://api.github.com/users/displague/repos","events_url":"https://api.github.com/users/displague/events{/privacy}","received_events_url":"https://api.github.com/users/displague/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-13T19:06:41Z","updated_at":"2018-07-19T19:36:05Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/libgolang/docker-volume-linode/pulls/4","html_url":"https://github.com/libgolang/docker-volume-linode/pull/4","diff_url":"https://github.com/libgolang/docker-volume-linode/pull/4.diff","patch_url":"https://github.com/libgolang/docker-volume-linode/pull/4.patch"},"body":"Uses https://github.com/chiefy/linodego/pull/20  ~(note the open PR)~ (merged into master) to handle volume API requests.\r\n\r\nThis hasn't been run/tested yet.  Help wanted.\r\n\r\n--\r\nCloses #1 \r\nCloses #2"},"comment":{"url":"https://api.github.com/repos/libgolang/docker-volume-linode/issues/comments/406389983","html_url":"https://github.com/libgolang/docker-volume-linode/pull/4#issuecomment-406389983","issue_url":"https://api.github.com/repos/libgolang/docker-volume-linode/issues/4","id":406389983,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjM4OTk4Mw==","user":{"login":"displague","id":317653,"node_id":"MDQ6VXNlcjMxNzY1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/317653?v=4","gravatar_id":"","url":"https://api.github.com/users/displague","html_url":"https://github.com/displague","followers_url":"https://api.github.com/users/displague/followers","following_url":"https://api.github.com/users/displague/following{/other_user}","gists_url":"https://api.github.com/users/displague/gists{/gist_id}","starred_url":"https://api.github.com/users/displague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/displague/subscriptions","organizations_url":"https://api.github.com/users/displague/orgs","repos_url":"https://api.github.com/users/displague/repos","events_url":"https://api.github.com/users/displague/events{/privacy}","received_events_url":"https://api.github.com/users/displague/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T19:36:05Z","updated_at":"2018-07-19T19:36:05Z","author_association":"NONE","body":"A little further...\r\n\r\n```\r\nmake test TEST_TOKEN=... TEST_REGION=... TEST_LABEL=...\r\n```\r\n```\r\ndep ensure\r\ndocker build --no-cache -q -t docker-volume-linode:rootfs.9999 .\r\nsha256:8c635e770d4d46ce811c6c68db5de011e7683b73abab4e380d6e5ed2c678566d\r\n# assemble\r\nmkdir -p ./plugin-contents-dir/rootfs\r\ndocker create --name tmp  docker-volume-linode:rootfs.9999\r\n0a756a7f3d353f7c6efb0b3c849bb53e1315827594f327bf400a65da82a1365e\r\ndocker export tmp | tar -x -C ./plugin-contents-dir/rootfs\r\ncp config.json ./plugin-contents-dir/\r\ndocker rm -vf tmp\r\ntmp\r\n# load plugin with versionied tag\r\ndocker plugin rm -f libgolang/docker-volume-linode:test.9999 2>/dev/null || true\r\nlibgolang/docker-volume-linode:test.9999\r\ndocker plugin create libgolang/docker-volume-linode:test.9999 ./plugin-contents-dir\r\nlibgolang/docker-volume-linode:test.9999\r\n# load plugin with `latest` tag\r\ndocker plugin rm -f libgolang/docker-volume-linode:latest 2>/dev/null || true\r\nlibgolang/docker-volume-linode:latest\r\ndocker plugin create libgolang/docker-volume-linode:latest ./plugin-contents-dir\r\nlibgolang/docker-volume-linode:latest\r\ndocker plugin enable libgolang/docker-volume-linode\r\nlibgolang/docker-volume-linode\r\ndocker volume create -d libgolang/docker-volume-linode test-volume-default-size\r\ntest-volume-default-size\r\ndocker volume create -d libgolang/docker-volume-linode -o size=50 test-volume-50g\r\ntest-volume-50g\r\ndocker volume rm test-volume-50g\r\ntest-volume-50g\r\ndocker run --rm -i -v test-volume-default-size:/mnt busybox touch /mnt/abc.txt\r\ndocker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/fda2bc43336b1dcbd918dcb3e4db91933b07c52efce1cef655512748a4a0de0f/rootfs': Post http://%2Frun%2Fdocker%2Fplugins%2Ffda2bc43336b1dcbd918dcb3e4db91933b07c52efce1cef655512748a4a0de0f%2Flinode-driver.sock/VolumeDriver.Mount: dial unix /run/docker/plugins/fda2bc43336b1dcbd918dcb3e4db91933b07c52efce1cef655512748a4a0de0f/linode-driver.sock: connect: no such file or directory.\r\nmake: *** [test-use-volume] Error 127\r\n```"}}
{"actor":{"display_login":"displague"}}