← Winnitude! Search  ·  Reader Mode (971 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 8 LINKS

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, 2019

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.

Reacted by arnonuem and Semyon Danilov

Metadata

Metadata

Assignees

No one assigned

    Labels


    type/question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions