Skip to content

init Additional property init is not allowed #78

@acca301

Description

@acca301

Trying to deploy a stack with Docker 17.06.2-ce

A service is having 'init:' property set:

version: "3.1"
services:
  dummy:
    image: hello-world
    init: true

Getting an error:

$ docker stack deploy -c dummy.yml dummy
init Additional property init is not allowed

The 'init:' option had been introduced in version 2.2 of 'docker-compose' format. Any clue would be greatly appreciated.

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