Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Doer-org/ketos
Browse files Browse the repository at this point in the history
  • Loading branch information
seipan committed May 10, 2024
2 parents c612283 + 4303e3b commit 0a2f395
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,42 @@ brew install buildpacks/tap/pack
go install github.com/Doer-org/ketos@latest
```
## Usage
### push
```
ketos push -d "./examples/go" -l "go" -f "Dockerfile" -D true -p 8090:8090 -s "http://localhost:8000/"
directory: ./examples/go
Creating image with Dockerfile
Path: ./examples/go
Dockerfile: Dockerfile
Sending tar to server...
{"id":"6ce1da4c-b7be-4c02-b262-88cd6350e025","port":"8090:8090"}
__ __ ________________ _____
/ //_// ____/_ __/ __ \/ ___/
/ ,< / __/ / / / / / /\__ \
/ /| |/ /___ / / / /_/ /___/ /
/_/ |_/_____/ /_/ \____//____/
🐳🐳🐳 Share this command 🐳🐳🐳
ketos pull -i 6ce1da4c-b7be-4c02-b262-88cd6350e025
```

### pull
```
ketos pull -i 6ce1da4c-b7be-4c02-b262-88cd6350e025 -s "http://localhost:8000"
http://localhost:8000/info/6ce1da4c-b7be-4c02-b262-88cd6350e025
{"id":"6ce1da4c-b7be-4c02-b262-88cd6350e025","port":"8090:8090"}
https://ketos.doer-app.com/info/6ce1da4c-b7be-4c02-b262-88cd6350e025
Container ketos-tmp-container has been created with ID: ce98e6ba0f24a82ac2ec09ee34f90a151682c5d2707c0fe9b4bdea958e0a6975
Container ketos-tmp-container has been started
__ __ ________________ _____
/ //_// ____/_ __/ __ \/ ___/
/ ,< / __/ / / / / / /\__ \
/ /| |/ /___ / / / /_/ /___/ /
/_/ |_/_____/ /_/ \____//____/
```

## LICENSE
Code licensed under
Expand Down

0 comments on commit 0a2f395

Please sign in to comment.