QEMU Tools
QEMU Tools
This commit is contained in:
commit
ad9ce8956a
4 changed files with 13 additions and 12 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -47,6 +47,7 @@ jobs:
|
||||||
name: Create tag
|
name: Create tag
|
||||||
uses: rickstaa/action-create-tag@v1
|
uses: rickstaa/action-create-tag@v1
|
||||||
id: "tag_create"
|
id: "tag_create"
|
||||||
|
if: ${{ false }}
|
||||||
with:
|
with:
|
||||||
tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}"
|
||||||
tag_exists_error: false
|
tag_exists_error: false
|
||||||
|
|
|
@ -36,7 +36,7 @@ ENV VERSION=$VERSION_ARG
|
||||||
LABEL org.opencontainers.image.created=${DATE_ARG}
|
LABEL org.opencontainers.image.created=${DATE_ARG}
|
||||||
LABEL org.opencontainers.image.revision=${BUILD_ARG}
|
LABEL org.opencontainers.image.revision=${BUILD_ARG}
|
||||||
LABEL org.opencontainers.image.version=${VERSION_ARG}
|
LABEL org.opencontainers.image.version=${VERSION_ARG}
|
||||||
LABEL org.opencontainers.image.url=https://hub.docker.com/r/kroese/docker-qemu/
|
LABEL org.opencontainers.image.url=https://hub.docker.com/r/qemux/qemu-docker/
|
||||||
LABEL org.opencontainers.image.source=https://github.com/kroese/docker-qemu/
|
LABEL org.opencontainers.image.source=https://github.com/qemu-tools/qemu-docker/
|
||||||
|
|
||||||
ENTRYPOINT ["/run/run.sh"]
|
ENTRYPOINT ["/run/run.sh"]
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
qemu:
|
qemu:
|
||||||
container_name: qemu
|
container_name: qemu
|
||||||
image: kroese/docker-qemu:latest
|
image: qemux/qemu-docker:latest
|
||||||
environment:
|
environment:
|
||||||
CPU_CORES: "1"
|
CPU_CORES: "1"
|
||||||
RAM_SIZE: "512M"
|
RAM_SIZE: "512M"
|
||||||
|
|
18
readme.md
18
readme.md
|
@ -1,7 +1,7 @@
|
||||||
<h1 align="center">QEMU for Docker
|
<h1 align="center">QEMU for Docker
|
||||||
<br />
|
<br />
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/kroese/docker-qemu/raw/master/.github/logo.png" title="Logo" style="max-width:100%;" width="256" />
|
<img src="https://github.com/qemu-tools/qemu-docker/raw/master/.github/logo.png" title="Logo" style="max-width:100%;" width="256" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
@ -11,13 +11,13 @@
|
||||||
[![Docker Image Size]][qemu-docker-hub]
|
[![Docker Image Size]][qemu-docker-hub]
|
||||||
[![Docker Pulls Count]][qemu-docker-hub]
|
[![Docker Pulls Count]][qemu-docker-hub]
|
||||||
|
|
||||||
[build_url]: https://github.com/kroese/docker-qemu/actions
|
[build_url]: https://github.com/qemu-tools/qemu-docker/actions
|
||||||
[qemu-docker-hub]: https://hub.docker.com/r/kroese/docker-qemu
|
[qemu-docker-hub]: https://hub.docker.com/r/qemux/qemu-docker
|
||||||
|
|
||||||
[build_img]: https://github.com/kroese/docker-qemu/actions/workflows/build.yml/badge.svg
|
[build_img]: https://github.com/qemu-tools/qemu-docker/actions/workflows/build.yml/badge.svg
|
||||||
[Docker Image Size]: https://img.shields.io/docker/image-size/kroese/docker-qemu/latest
|
[Docker Image Size]: https://img.shields.io/docker/image-size/qemux/qemu-docker/latest
|
||||||
[Docker Pulls Count]: https://img.shields.io/docker/pulls/kroese/docker-qemu.svg?style=flat
|
[Docker Pulls Count]: https://img.shields.io/docker/pulls/qemux/qemu-docker.svg?style=flat
|
||||||
[gh_last_release_svg]: https://img.shields.io/docker/v/kroese/docker-qemu?arch=amd64&sort=date
|
[gh_last_release_svg]: https://img.shields.io/docker/v/qemux/qemu-docker?arch=amd64&sort=date
|
||||||
|
|
||||||
</div></h1>
|
</div></h1>
|
||||||
QEMU in a docker container using KVM acceleration.
|
QEMU in a docker container using KVM acceleration.
|
||||||
|
@ -36,7 +36,7 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
qemu:
|
qemu:
|
||||||
container_name: qemu
|
container_name: qemu
|
||||||
image: kroese/docker-qemu:latest
|
image: qemux/qemu-docker:latest
|
||||||
environment:
|
environment:
|
||||||
DISK_SIZE: "16G"
|
DISK_SIZE: "16G"
|
||||||
BOOT: "http://www.example.com/image.iso"
|
BOOT: "http://www.example.com/image.iso"
|
||||||
|
@ -53,7 +53,7 @@ services:
|
||||||
Via `docker run`
|
Via `docker run`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm --cap-add NET_ADMIN kroese/docker-qemu:latest
|
docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm --cap-add NET_ADMIN qemux/qemu-docker:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
Loading…
Reference in a new issue