{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/19367","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/19367/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/19367/comments","events_url":"https://api.github.com/repos/docker/docker/issues/19367/events","html_url":"https://github.com/docker/docker/pull/19367","id":126899693,"number":19367,"title":"CLI flag for docker create(run) to change block device size.","user":{"login":"shishir-a412ed","id":4207652,"avatar_url":"https://avatars.githubusercontent.com/u/4207652?v=3","gravatar_id":"","url":"https://api.github.com/users/shishir-a412ed","html_url":"https://github.com/shishir-a412ed","followers_url":"https://api.github.com/users/shishir-a412ed/followers","following_url":"https://api.github.com/users/shishir-a412ed/following{/other_user}","gists_url":"https://api.github.com/users/shishir-a412ed/gists{/gist_id}","starred_url":"https://api.github.com/users/shishir-a412ed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shishir-a412ed/subscriptions","organizations_url":"https://api.github.com/users/shishir-a412ed/orgs","repos_url":"https://api.github.com/users/shishir-a412ed/repos","events_url":"https://api.github.com/users/shishir-a412ed/events{/privacy}","received_events_url":"https://api.github.com/users/shishir-a412ed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/impact/api","name":"impact/api","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/docker/labels/impact/changelog","name":"impact/changelog","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/docker/labels/impact/cli","name":"impact/cli","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2016-01-15T15:53:15Z","updated_at":"2016-03-15T17:24:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/19367","html_url":"https://github.com/docker/docker/pull/19367","diff_url":"https://github.com/docker/docker/pull/19367.diff","patch_url":"https://github.com/docker/docker/pull/19367.patch"},"body":"Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/196934454","html_url":"https://github.com/docker/docker/pull/19367#issuecomment-196934454","issue_url":"https://api.github.com/repos/docker/docker/issues/19367","id":196934454,"user":{"login":"calavera","id":1050,"avatar_url":"https://avatars.githubusercontent.com/u/1050?v=3","gravatar_id":"","url":"https://api.github.com/users/calavera","html_url":"https://github.com/calavera","followers_url":"https://api.github.com/users/calavera/followers","following_url":"https://api.github.com/users/calavera/following{/other_user}","gists_url":"https://api.github.com/users/calavera/gists{/gist_id}","starred_url":"https://api.github.com/users/calavera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calavera/subscriptions","organizations_url":"https://api.github.com/users/calavera/orgs","repos_url":"https://api.github.com/users/calavera/repos","events_url":"https://api.github.com/users/calavera/events{/privacy}","received_events_url":"https://api.github.com/users/calavera/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T17:24:14Z","updated_at":"2016-03-15T17:24:14Z","body":"> the command-line should take =, so --storage-opt size=123G\r\n> the API should take a struct instead of a list of strings, so \"StorageOpt\": { \"size\":\"123G\" }\r\n\r\nI agree with those two points. We should be consistent in the CLI and use the `X=Y` format we use everywhere, and the api should use a map, like we use in other cases like log and labels configuration:\r\n\r\nhttps://github.com/docker/engine-api/blob/master/types/container/host_config.go#L207\r\nhttps://github.com/docker/engine-api/blob/master/types/container/config.go#L36"}}