Abra gives a weird error when user on remote server isn't in group docker #169
Labels
No Label
abra
abra-gandi
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
democracy
design
documentation
duplicate
enhancement
finance
funding
good first issue
help wanted
installer
kadabra
performance
proposal
question
recipes.coopcloud.tech
security
test
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/organising#169
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Describe the current behavior
If your remote user isn't in the group
docker
abra returns a cryptic error message:FATA[0003] Cannot connect to the Docker daemon at http://docker.example.com. Is the docker daemon running?
Steps to reproduce
go trough the installation procedure on docker's website and don't add your user to the
docker group
and then doDescribe the expected behavior
abra should throw some error message explaining that user is not in the group docker instead of trying to connect to docker.example.com
Additional information
I think I might fix this with a cheeky ssh connect to the host and check the users groups. Docker itself actually also has really shitty error messages for this as well. Basically the same message but in socket form
abra server add
will error out if docker is not installed on the server and give a decent error message, see1392afc015/cli/server/add.go (L82-L89)
.