docker run -d -p 4000:80 hypriot/rpi-busybox-httpdon the Pi and then successfully use
curl http://kurt.local:4000/from another machine. However, if I try to deploy the same image in a stack using https://gist.github.com/witsch/f0543088b41e3c2b94eac6e20aaad13c and
docker stack deploy -c hello.yaml helloI'm getting "no suitable node (unsupported platform on 1 node)". And even more strange is a "pihole" deployment that does work using
docker stack, i.e. I can
curl http://10.0.0.25/admin/from the Pi, but get a timeout when trying the same from another machine. Does any of you have an idea what I might be doing wrong? :)
docker swarm init --default-addr-pool 10.20.0.0/16 --default-addr-pool-mask-length 24fixed things… have a good night!
I am getting an error after doing docker swarm init on my hypriot system v1.12.x the following is what I am seeing:
$ docker node ls
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
HypriotOS/armv7: pirate@cfDOC6 in ~
$ docker swarm init
Error response from daemon: This node is already part of a swarm. Use "docker swarm leave" to leave this swarm and join another one.
Then I leave the swarm recreat it and the same thing all over again. Anyone have any ideas?
I can't manage do the user-data file working on cloud-init.
I'm using a Raspberry Pi 3B+, and flashing the OS with Etcher on Win10. When I do the flash without any change on the boot, it work as needed via eth0, ssh working as well. I managed to use the wifi connection manualy too.
When I just change the username setting in the user-data file, it works too, with the new username.
But when I unquote some line (for exemple : # Install any additional apt packages you need here
1) the wifi doesn't manage to connect my router at all
2) when I try ssh, the default password (unchanged) doesn't work. (access denied)
I walk around for quite a bit all around the github issues and the internet but it is very frustating so far.
Hope an rescue here.
Thanks a lot.
It may help for others :
When I changed the user-data config file, I just deleted the # and it stayed a space before the cloud-init modules name.
Correcting the YAML syntax solved obviously the problem but it wasn't clear at my eye at first.
I thought I had just to uncomment the lines I need to use.
Thank you for the work done.