No description
Find a file
2019-12-16 15:24:28 +07:00
.github Add reference to tippin.me links 2019-12-14 18:52:22 +07:00
media Add asciinema SVG demo 2019-12-16 14:45:04 +07:00
.gitignore Initial commit 2019-12-13 19:11:40 +07:00
Dockerfile No need to duplicate QEMU_VERSION build arg 2019-12-16 15:24:28 +07:00
entrypoint.sh Prefer double dash arguments 2019-12-14 18:43:22 +07:00
LICENSE Initial commit 2019-12-13 19:11:40 +07:00
README.md Add asciinema SVG demo 2019-12-16 14:45:04 +07:00

dockerpi

Actions Status Docker Pulls Docker Image Size GitHub Donate Bitcoin Donate Lightning Donate

A Virtualised Raspberry Pi inside a Docker image

Gives you access to a virtualised ARM based Raspberry Pi machine running the Raspian operating system.

This is not just a Raspian Docker image, it's a full ARM based Raspberry Pi virtual machine environment.

Usage

docker run -it lukechilds/dockerpi

By default all filesystem changes will lost on shutdown. You can persist filesystem changes between reboots by mounting the /sdcard volume on your host:

docker run -it -v $HOME/.dockerpi:/sdcard lukechilds/dockerpi

If you have a specific image you want to mount you can mount it at /sdcard/filesystem.img:

docker run -it -v /2019-09-26-raspbian-buster-lite.img:/sdcard/filesystem.img lukechilds/dockerpi

If you only want to mount your own image, you can download a much slimmer VM only Docker container that doesn't contain the Raspbian filesystem image:

Docker Image Size Docker Image Size

docker run -it -v /2019-09-26-raspbian-buster-lite.img:/sdcard/filesystem.img lukechilds/dockerpi:vm

Build

Build this image yourself by checking out this repo, cd ing into it and running:

docker build -t lukechilds/dockerpi .

License

MIT © Luke Childs