Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

coderaiser/loop

Open more actions menu

Repository files navigation

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

About

create file system image file

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.