Docker container that writes directory structures to files
674
Docker container that writes directory structures to files.
$ git clone https://github.com/lucasheld/listdir-docker
$ cd listdir-docker
$ docker build -t listdir-docker .
listdir-docker --help print this help message
listdir-docker list directories and exit
listdir-docker cron list directories in cron job
$ mkdir out
$ UID=$(id -u)
$ GID=$(id -g)
$ docker run --rm \
-e UID=${UID} \
-e GID=${GID} \
-v $(pwd)/out:/out \
-v /home/foo/folder1:/mnt/folder1:ro \
-v /home/foo/folder2:/mnt/folder2:ro \
listdir-docker
Content type
Image
Digest
Size
4.8 MB
Last updated
about 5 years ago
docker pull lucasheld/listdir-docker