Skip to content

Support tmpfs-size and tmpfs-mode in compose-file #698

@luochen1990

Description

@luochen1990

@thaJeztah suggests to use a --mount option as an workaround of --shm-size like that:

docker service create \
  --name tmpfstest \
  --mount type=tmpfs,dst=/dev/shm,tmpfs-size=1000000000 \
  --tty \
  debian:stretch-slim cat

But I can't find anything about how to set the tmpfs-size in the doc about volume-long-syntax. I think this feature should be supported.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions