Skip to content

Commit

Permalink
Add some note over docker exec
Browse files Browse the repository at this point in the history
  • Loading branch information
nui committed Jun 30, 2024
1 parent 6076c4a commit f21e77a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NOTE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# exec into container using docker exec over ssh

```zsh
alias connect-xxx='DOCKER_CLI_HINTS=false docker -H ssh://remote-ssh-server exec -w /home/user -i -t container_name .nmk/login.sh -2'
```

0 comments on commit f21e77a

Please sign in to comment.