Skip to content

Add support for one-off jobs in Docker Swarm #2829

@pklejch

Description

@pklejch

Docker Engine 20.10 introduced option to run one-off jobs in Docker Swarm (https://docs.docker.com/engine/release-notes/#version-2010), this is achieved by two new modes for Swarm service: replicated-job and global-job.

It would be nice to have this possibility when creating Swarm service in docker-py.

Related PR which brought support for those new modes into Docker CLI: docker/cli#2262

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions