Remote Control Raspi Docker

Helge Heß edited this page Apr 19, 2017 · 2 revisions
  1. First Setup Docker on Raspi

  2. 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"`
  1. tweet a a success message to @Quintus23M

  2. 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
  1. direct the Docker client to the RaspberryPi and run commands:
eval $(docker-machine env zpi3)
docker images
docker ps
docker run --rm helje5/rpi-swift swift --version
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.