-
Notifications
You must be signed in to change notification settings - Fork 40
Remote Control Raspi Docker
Helge Heß edited this page Sep 20, 2018
·
3 revisions
-
First Setup Docker on Raspi
-
on the Mac, patch Hypriot to work with docker-machine: 001-fix:
ssh pirate@THE-IP-ADDRESS \
"curl -sSL https://github.com/DieterReuter/arm-docker-fixes/raw/master/001-fix-docker-machine-1.8.0-create-for-arm/apply-fix-001.sh | bash"`
-
tweet a a success message to @Quintus23M
-
on the Mac, connect to Raspi via docker-machine:
docker-machine create \
--driver=generic --engine-storage-driver=overlay \
--generic-ip-address=THE-IP-ADDRESS \
--generic-ssh-user=pirate raspberry
docker-machine ls
- direct the Docker client to the RaspberryPi and run commands:
eval $(docker-machine env raspberry)
docker images
docker ps
docker run --rm helje5/rpi-swift swift --version
Brought to you by The Always Right Institute. We like feedback, GitHub stars, presumably any form of praise you can think of. We don't like people who are wrong.