Skip to content

Commit 6e2c8ca

Browse files
authoredNov 13, 2023
Merge pull request #36 from zupolgec/patch-1
Updated Docker alias command
2 parents c86e8e1 + 383db7b commit 6e2c8ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎_docs/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ gem install kamal
1414
...otherwise, you can run a dockerized version via an alias (add this to your .bashrc or similar to simplify re-use). On macOS, use:
1515

1616
```sh
17-
alias kamal="docker run -it --rm -v '${PWD}:/workdir' -v '/run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock' -e SSH_AUTH_SOCK='/run/host-services/ssh-auth.sock' -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/basecamp/kamal:latest"
17+
alias kamal='docker run -it --rm -v "${PWD}:/workdir" -v "/run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock" -e SSH_AUTH_SOCK="/run/host-services/ssh-auth.sock" -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/basecamp/kamal:latest'
1818
```
1919

2020
Then, inside your app directory, run `kamal init`. Now edit the new file `config/deploy.yml`. It could look as simple as this:

0 commit comments

Comments
 (0)
Please sign in to comment.