Created
August 26, 2014 22:21
-
-
Save ramielrowe/4d162d780977542997a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inconsistent keys and data model | |
* Network attributes | |
** Create call | |
{“ExposedPorts”: {“22/tcp”: {}}} | |
** Inspect/show call | |
{“HostConfig”: {“PortBinding”: [{“22/tcp”: {“HostIP”: “0.0.0.0”, “HostPort”: “2222”}}]}} | |
** List call | |
{“Ports”: [{“PrivatePort”: “2222”, “PublicPort”: “22”, “Type”:”tcp”}]} | |
* Root level attributes in create call are then broken out into “Config”, “HostConfig” for show, but are also root level in list call. | |
Non-nova/Openstack API methodologies | |
* Directly specifying resource constraints (memory, rootfs size limits) rather than flavors. | |
* Directly specifying network addresses/ports instead of neutron ids | |
Synchronous API, would need to modify dockercli to handle async tasks anyways. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment