8000 Missing secrets file creates a directory? · Issue #5377 · docker/compose · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Missing secrets file creates a directory? #5377
Closed
@aaparmeggiani

Description

@aaparmeggiani

When docker-compose up with the config below, if the file mypass.txt is missing, docker-compose creates an empty directory mypass.txt. Is that expected behaviour?

version: '3.1'

services:
  app:
    image: alpine
    secrets:
      - mypass

secrets:
  mypass:
    file: ./mypass.txt

macOS 10.13.1
Docker version 17.11.0-ce-rc3, build 5b4af4f
docker-compose version 1.17.0, build ac53b73

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0