Any benefit to switching to docker machine for swarm initialisation? #16
Closed
opened 2020-09-20 18:39:39 +00:00 by 3wordchant
·
4 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#16
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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: