Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgimenez/udf-in-a-box
https://github.com/fgimenez/udf-in-a-box
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fgimenez/udf-in-a-box
- Owner: fgimenez
- Created: 2015-11-13T16:13:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-13T16:19:18.000Z (about 9 years ago)
- Last Synced: 2023-04-05T14:36:37.928Z (over 1 year ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UDF-in-a-box Docker container
This simple container lets you execute ubuntu-device-flash [1] to generate Ubuntu Core or Touch images inside a Docker container, so that you can get those images in any system that can run Docker.
For generating a Ubuntu Core image for the 15.04 release and stable channel the basic command is:
```
docker run \
--privileged=true \
-v $PWD:/tmp/udf \
-t fgimenez/udf-in-a-box \
ubuntu-device-flash core 15.04 -o /tmp/udf/file.img --channel stable
```and you end with the generated ```file.img``` in the current directory. If you want to use ```--developer-mode``` you should mount the ssh directory too:
```
docker run \
--privileged=true \
-v ~/.ssh:/root/.ssh \
-v $PWD:/tmp/udf \
-t fgimenez/udf-in-a-box \
ubuntu-device-flash core rolling -o /tmp/udf/file.img --channel edge --developer-mode
```[1] http://manpages.ubuntu.com/manpages/wily/man1/ubuntu-device-flash.1.html