install: check for docker #193
No reviewers
Labels
No Label
bug
build
ci/cd
contributing
design
documentation
duplicate
enhancement
help wanted
invalid
meta
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#193
Loading…
Reference in New Issue
No description provided.
Delete Branch "knoflook/abra:installer"
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?
if you install abra when docker is not present on your local machine or your user isn't added to the docker group, it shows strange errors. This checks if docker is present on your local machine and proposes to install it if needed.
@knoflook
That's strange, could you also copy/pasta in some of the errors?
I thought we only needed to install Docker on the server-side, not on the local machine?
Also, I would guess that some people who use
abra
won't ever drop down into the more fine-grained Docker command-line commands, so unsure if we should have this check as default?sorry i was rushing to put this issue here. this happens when you run
abra server add
AFAIU abra can only control docker, not replace it. Which means it still needs the docker engine to run on the local machine. It's actual docker that manages contexts and makes connections to the servers, and we're just talking to it.
you can't add a server if the daemon is not present on your local machine.
abra
largely re-uses upstream Docker CLI libs, so it is basically a drop-in replacement for a bunch of functionality.abra
makes calls to the remote Docker daemon, not a local one. When youabra server add ...
,abra
runs the same code that the Docker CLI would run, to create the local context.I can on my machine:
The error you posted above could have a number of causes but I don't think it is about a missing local Docker daemon. So many things can go wrong when dealing with a new server from
abra
side, anything SSH, provisioning fails, user permissions and the list goes on... if you can smoke out your issue, then we can improve the error message or try to handle it inabra
?Let's re-group to discuss this, closing off for now.
Pull request closed