Sign inSign up

coderaiser/loop

By coderaiser

Updated 3 months ago

create file system image file

Image
1

1.4K

coderaiser/loop repository overview

Loop License Build Status

Create or resize file system of an image file to use as a loop device.

Usage

docker run --rm coderaiser/loop <file> <size>

Example

docker run --rm -t -v "$PWD:/root" --name loop coderaiser/loop image.bin 100M

You can pass arguments to docker container via environment variables $FILE and $SIZE as well:

docker run --rm -t -v "$PWD:/root" --name loop -e "FILE=image.bin" -e "SIZE=100M" coderaiser/loop

License

MIT

Tag summary

Content type

Image

Digest

sha256:b9cd9ed0d

Size

6.3 MB

Last updated

3 months ago

docker pull coderaiser/loop