Replies: 2 comments 1 reply
-
|
Did you followed these step to manually bootstrap your server? I'd suggest to try to see if following command works: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you.
Turned out it was failing locally as it tried to build the container. By
default kamal uses docker-container and on Mac, docker runs in a VM and on
my machine docker-container does not work. I changed Kamal’s config to use
docker instead and it works now :)
…On Tue, Nov 12, 2024 at 2:58 AM Puru ***@***.***> wrote:
Did you followed these step to manually bootstrap your server?
https://kamal-deploy.org/docs/configuration/ssh/
I'd suggest to try to see if following command works:
kamal server exec "whoami" # should show your user X
kamal server exec "docker run hello-world" # should run if docker daemon running and accessible for user X
—
Reply to this email directly, view it on GitHub
<#1205 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEL4CGW6UHZSMJRTSDSTFL2AHNMJAVCNFSM6AAAAABRM5EMGOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMRSGQ2TANA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I set up a user X, added it to the docker group and I can run docker info and docker run successfully when I'm logged in as user X. In my deploy.yml (in my rails app), I have ssh user set to X. When I run kamal setup, I get the error below:
error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?I'm on Rails 8 beta and my server is running Ubuntu 20.04
Beta Was this translation helpful? Give feedback.
All reactions