@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.