Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Jan 16, 2025
1 parent 5fecc73 commit 71a803a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@

spawn throwaway systemd or non-systemd based docker containers using ssh.

# Usage:

```
go run .
sshcont:
-bind string
bind address, 127.0.0.1:2222, use :2222 for all (default "127.0.0.1:2222")
-image string
Force image to be executed
-vol string
Share volume into container, example: /home/:/home_shared
```

use the following ssh command to start and enter an container:

after starting the service, use the following ssh command to start and enter an
container:

```
ssh -l "jrei/systemd-debian" -o StrictHostKeychecking=no localhost -p 2222
Expand Down

0 comments on commit 71a803a

Please sign in to comment.