-
Notifications
You must be signed in to change notification settings - Fork 487
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
Kamal setup fails due to docker login issue #1258
Comments
I am also experiencing a similar issue
|
what worked for me is injecting my dockerhub token in kamal_password in .secrets then I added .secrets to gitignore so that it does not get pushed to the server for security reasons. they say another method is setting up environment variables in bashrc. I still have not tried that tho. |
I fixed my issue by adding env variable to .bashrc file as follows then load env variables by executing:
kamal 2 documentation needs to be updated to account for such details. I will send a PR |
Hey everyone!
so I added
and then just set |
using the gem will fix this issues |
I'm using the |
Kamal works using the secret file https://kamal-deploy.org/docs/configuration/environment-variables/ |
Hi, I followed the documentation and tutorial.
Every time I run
kamal setup
, it starts executing. It installs docker on the remote server then I get this error:ERROR (SSHKit::Command::Failed): docker exit status: 32000 docker stdout: Nothing written docker stderr: flag needs an argument: 'p' in -p See 'docker login --help'.
I verified that I could access the server with ssh and login to my docker as well.
Any solution?
The text was updated successfully, but these errors were encountered: