CreateContainerCmd#withPortBindings and other deprecated methods · Issue #1281 · docker-java/docker-java
Repository navigation
CreateContainerCmd#withPortBindings and other deprecated methods #1281
New issue
New issue
Closed
Closed
CreateContainerCmd#withPortBindings and other deprecated methods #1281 Labels
type/question
Description
@zysaaa's profile zysaaa opened on Nov 25, 2019I 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.
Metadata
Metadata
Assignees
No one assignedLabels
type/question