i'm going through the tutorial here <https://docs....
# geodesic
m
i'm going through the tutorial here https://docs.cloudposse.com/howto/geodesic/authenticate-with-aws-vault/. however when i run
docker run cloudposse/geodesic:latest-debian | bash
,
geodesic
doesn't get installed to
/usr/local/bin
. when I add
-it
I see a bunch of
Command not found
errors. This is on both a mac and a linux. Also tried running
sudo bash
e
head's up @Jeremy G (Cloud Posse) has a PR to deprecate this in favor of leapp
regarding the errors you're getting, can you make sure you've pulled the latest image?
m
saw that! when’s it getting merged? also, i was able to get it running by building my own image. it only worked on my linux machine though
e
it should be very user friendly at this point. if not, please open issue on
geodesic
repo and we'll have @Jeremy G (Cloud Posse) take a look. and by user friendly, I mean it should error gracefully with instructions on what to do.
m
yeah no errors, if i didn’t pass the -ti flag it would fail silently
j
@Michael Dizon When I run
Copy code
docker run cloudposse/geodesic:latest-debian | bash
I get a message printed out. (Too long to copy here.) If you do not get a message, that is worth investigating. The case where you run
Copy code
docker run -it cloudposse/geodesic:dev-alpine  | bash
is one I did not think of guarding against. I will fix that.
m
@Jeremy G (Cloud Posse) here's the output when I run
docker run cloudposse/geodesic:latest-debian | bash
Copy code
########################################################################################
# Attach a terminal (docker run --rm --it ...) if you want to run a shell.
# Run the following to install the script that runs
# Geodesic with all its features (the recommended way to use Geodesic):
#   docker run --rm cloudposse/geodesic:latest-debian init | bash
# (On a Linux workstation, you might need to use "sudo bash" instead of just "bash")
########################################################################################
geodesic is not created in the /usr/local/bin dir
j
Yes, I thought that was made clear in the output message. How would you suggest I make it clearer?
m
sigh. i guess i glazed over the
init
part
thanks for the help
j
Thanks for showing another path we need to guard against. 🙂
🙌 2
e
yep! thanks for the feedback