Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running pusher-cli from inside a docker container #44

Open
igorGevaerd opened this issue Jun 17, 2021 · 4 comments
Open

Problem running pusher-cli from inside a docker container #44

igorGevaerd opened this issue Jun 17, 2021 · 4 comments
Labels

Comments

@igorGevaerd
Copy link

Issue:

Running pusher from inside a docker image is facing the following problem:

root@83c474e59da6:/tools# ./pusher 
Can't get your home directory.

The image used:

  • FROM ubuntu:20.04

User:

  • root

Pusher-cli version:

  • v0.13

Binary used:

Expected behaviour:

root@asdfasdf:/tools# ./pusher 
A CLI for your Pusher account. Find out more at https://pusher.com

Usage:
  pusher [command]

Available Commands:
  channels    Commands related to the Channels product
  help        Help about any command
  login       Enter and store Pusher API key
  logout      Remove Pusher account credentials from this computer
  version     Lists the version of Pusher CLI

Flags:
  -h, --help   help for pusher

Use "pusher [command] --help" for more information about a command.
@benw-pusher
Copy link

benw-pusher commented Jun 18, 2021

By default the CLI will look for the config file in the current user's folder. Does the /root folder exist in your container?

@benw-pusher
Copy link

Ignore the above, I think this could actually be a bug. We'll look into it and I'll let you know when a fix is published.

@igorGevaerd
Copy link
Author

Great! Thanks for the reply.

If I could help in something, just let me know.

@jehoshua02
Copy link

Any update? Running into this same issue almost a year later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants