Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAPI versioning and docker releases #6117
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
discordianfish
May 30, 2014
Contributor
Those look to me like different concerns: Versioning and docker releases. Maybe make two issues from that?
Regarding the versioning I don't really care about how to implement it (global versions vs versioned components vs backward compatible components), I just assume that:
- Even after 1.0 there will be fundamental changes to the api like moving parameters between host and run config.
- People will run very old (years) versions of docker and latest releases and need to use the same client for both. If they have to use different client versions this will be reason for frustration and hinder adoption.
- People will run older (months) versions of docker and latest releases in the same 'cluster', their cluster manager needs to support all versions of docker in the cluster. Keeping different client (cluster manager) around isn't even possible in that case.
- Pushing out the burden of supporting different docker versions to the clients will multiply the necessary work (one implementation per client(library), not one in the docker daemon) and cause fragmentation in the 'docker client' ecosystem.
Which leads me to the conclusion that we need to support older clients somehow and I would recommend to not require the clients to implement different behavior based on the docker daemon's version.
|
Those look to me like different concerns: Versioning and docker releases. Maybe make two issues from that? Regarding the versioning I don't really care about how to implement it (global versions vs versioned components vs backward compatible components), I just assume that:
Which leads me to the conclusion that we need to support older clients somehow and I would recommend to not require the clients to implement different behavior based on the docker daemon's version. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
LK4D4
May 30, 2014
Contributor
@discordianfish Here I've described how we can organize release process to support old api versions with one big pain on releases, instead of continuous pain in development.
|
@discordianfish Here I've described how we can organize release process to support old api versions with one big pain on releases, instead of continuous pain in development. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
thaJeztah
May 30, 2014
Member
Here's something I wrote-up a while ago. Not all parts are very well thought out, but it echoes my concerns at the time regarding Dockerfiles and compatibility; #4907
|
Here's something I wrote-up a while ago. Not all parts are very well thought out, but it echoes my concerns at the time regarding Dockerfiles and compatibility; #4907 |
erikh
added
Runtime
labels
Jul 1, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
looks like old |
LK4D4 commentedMay 30, 2014
Ok, here my thoughts about api versioning.
/v1.1/logs,/v1.2/logs...case) for different api versions, for example all stable api functions in
api/serverhave_<version>suffix.patchor may be even inminorversionsgitflow
developfeature very much(for example someone want it and ready to pay 1 million :)) we
just do new release. Hotfixes bumps
patchversion.What are you think about it?
ping @discordianfish @shykes @crosbymichael @vieux