Any benefit to switching to docker machine for swarm initialisation? #16
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It looks like
docker-machinehas agenericdriver which connects over SSH, and handles installing certificates for remote connections for you:https://www.linux.com/topic/cloud/how-use-docker-machine-create-swarm-cluster/
I'm wondering if that's easier than my other ideas for #12, which were:
abracommand to initialse swarm, have a--servermode to the abra installer scriptHoly cow, that machine project looks sick. Just saw this now too https://github.com/JonasProgrammer/docker-machine-driver-hetzner. Pretty handy. Definitely up for trying to see how it handles the certificates!
It looks like Docker machine was "superseded" in favour of infrakit / deploykit, which is now itself deprecated (a likely-sounding corporate bullshit conspiracy explanation is ventured in first link..)
There's a somewhat-active
machinefork here: https://github.com/machine-drivers/machineOne suggestion from the "superseded" thread was to use
export DOCKER_HOST=ssh://root@example.com, I'm giving that a go now.Requires user to be in the
dockergroup.Certificate set-up was my main draw to
docker-machine; I'll close this for now and we can reopen it if it still seems like a good option for the server set-up side.As of
abra/f4798bf: