Open dmtrs opened 6 years ago
Was able to to run a dietpi to a docker swarm manager:
docker-machine create \
--driver "generic" \
--generic-ip-address 192.168.0.198 \
--generic-ssh-user root \
--generic-ssh-key ~/.ssh/wkc-5p \
--engine-storage-driver overlay2 \
--swarm-master \
--swarm-image "wekaco/swarm-arm:latest" node1
Pushed from https://github.com/wekaco/swarm alternatively need to setup a registry. Dont know if feasible to avoid swarm-arm due to provisioning of docker-machine
code.
See #29
https://gist.github.com/londoncalling/4a6f09647c7446d1f25fe54106db1334 https://docs.docker.com/machine/install-machine/ https://docs.docker.com/machine/get-started/#use-machine-to-run-docker-containers
https://blog.alexellis.io/docker-swarm-on-raspberry-pi/