Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker http://containers/json endpoint depreciation notification #900

Closed
mrbobbytables opened this issue Aug 4, 2017 · 1 comment
Closed

Comments

@mrbobbytables
Copy link

This is more of a general informative post following up a conversation in #falco with @mstemm.

Docker has depreciated the http://containers/json endpoint and all future API calls should be prepend the API version. e.g. http://v1.25/containers/json.

It is targeted for removal in the v17.12 release.
For further information, please see the below links:

@gnosek
Copy link
Contributor

gnosek commented Dec 5, 2017

As far as I could find, the docker client always uses an explicit version number ("v1.18" and "v1.24"). Going back through the code, it seems like it has always been the case.

@gnosek gnosek closed this as completed Dec 5, 2017
@luca3m luca3m reopened this Dec 6, 2017
gnosek added a commit that referenced this issue Dec 6, 2017
gnosek added a commit that referenced this issue Dec 6, 2017
As of this writing, Docker recommends at least v1.24, so we use that.
However, for e.g. RHEL 6/CentOS 6, which are stuck on Docker 1.7
with API version 1.19, we do a fallback request without the version
number. This way, we use v1.24 if possible, and the newest supported
version if not.

Closes: #900
gnosek added a commit that referenced this issue Dec 6, 2017
As of this writing, Docker recommends at least v1.24, so we use that.
However, for e.g. RHEL 6/CentOS 6, which are stuck on Docker 1.7
with API version 1.19, we do a fallback request without the version
number. This way, we use v1.24 if possible, and the newest supported
version if not.

Closes: #900
@luca3m luca3m closed this as completed in 8beaa00 Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants