Run Raspbian VM (ARM) in Docker container
corusm
Posted on June 26, 2023
Install Docker
Arch
yay -S docker docker-compose
Ubuntu
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
Start & Enable Docker service
sudo systemctl start docker
sudo sysyemctl enable docker
Docker Compose
docker-compose.yml
version: '3.7'
services:
raspbian-vm:
image: hannseman/raspbian
container_name: raspbian-vm
privileged: true
ports:
- "2222:2222"
Run Docker-Compose
Start Service
sudo docker-compose up -d
Stop Service
sudo docker-compose down
Alternativly run via Docker Command
sudo docker run -it -p 2222:2222 --privileged hannseman/raspbian
Connect to Server via SSH
ssh pi@servername.de -p 2222
💖 💪 🙅 🚩
corusm
Posted on June 26, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024