mirror of https://github.com/docker/docs.git
Fix option for fallocate command in volumes.md (#17934)
fallocate does not have -f option. the correct option for to add the length of file is -l.
This commit is contained in:
parent
fae09e6e6c
commit
7fa15e3ac4
|
@ -576,7 +576,7 @@ The filesystem support of your system depends on the version of the Linux kernel
|
|||
1. Create a file and allocate some space to it:
|
||||
|
||||
```console
|
||||
$ fallocate -f 1G disk.raw
|
||||
$ fallocate -l 1G disk.raw
|
||||
```
|
||||
|
||||
2. Build a filesystem onto the `disk.raw` file:
|
||||
|
|
Loading…
Reference in New Issue