Skip to content

Support specifying network mode for building images #1060

Closed
@tlusk

Description

@tlusk

Docker API 1.25+ added support for specifying the network mode when building an image. docker-java currently does not expose that functionality in the API.

This is required to support docker build arguments such as --network=host

See:
https://docs.docker.com/engine/reference/commandline/build/#options
https://docs.docker.com/engine/api/v1.25/#operation/ImageBuild

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions