linux - How do you setup a Docker swarm on Raspberry Pis with one external (USB) storage device? -
i have set of raspberry pi 3s connected network , started raspian lite , installed docker on of them.
on first machine run: docker swarm init --advertise-addr 192.168.1.50
on rest of them run generated command: docker swarm join --token swmtkn-1-abc... 192.168.1.50:2377
okay cool have swarm! first pi has usb external hdd attached it. want run containers use data on external storage device.
- how can share storage device entire swarm?
- or how can force containers run on pi attached storage device?
- or there better way?
Comments
Post a Comment