-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CreateContainerCmd#withPortBindings and other deprecated methods #1281
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
Comments
From my point of view, the reason for deprecation and which alternative to use should be documented, too. For example, there are many methods in com.github.dockerjava.api.command.CreateContainerCmd deprecated but no documentation at all. Is there any source of documentation that can be used for providing this javadoc? |
everything that "proxy" hostconfig methods are deprecated, use hostconfig directly |
Thanks for clarifying this. Is this documented somewhere in the class and I missed it? |
If you see a method deprecated on If someone is up to contributing, a |
I am using 3.1.5 version. and I want to do port binding like :
docker run -d -p 5555:5000 training/webapp python app.py
And i find
CreateContainerCmd#withPortBindings
is deprecated, Which API can replace this?I have the same doubt about withPrivileged, which is also deprecated.
The text was updated successfully, but these errors were encountered: