You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Childs
25c2c54d2d
|
5 years ago | |
---|---|---|
.github | 5 years ago | |
media | 5 years ago | |
.gitignore | 5 years ago | |
Dockerfile | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
entrypoint.sh | 5 years ago |
README.md
dockerpi
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 -v $HOME/.dockerpi:/sdcard run -it lukechilds/dockerpi
If you have a specific image you want to mount you can mount it at /sdcard/filesystem.img
:
docker -v /2019-09-26-raspbian-buster-lite.img:/sdcard/filesystem.img run -it 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 -v /2019-09-26-raspbian-buster-lite.img:/sdcard/filesystem.img run -it 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