@thaJeztah suggests to use a `--mount` option as [an workaround of `--shm-size`](https://github.com/moby/moby/issues/26714) 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](https://docs.docker.com/compose/compose-file/#long-syntax-3). I think this feature should be supported.
@thaJeztah suggests to use a
--mountoption as an workaround of--shm-sizelike that:But I can't find anything about how to set the
tmpfs-sizein the doc about volume-long-syntax. I think this feature should be supported.