-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## compozify | ||
|
||
compozify is a tool mainly for converting docker run commands to docker compose files | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for compozify | ||
-v, --verbose verbose output | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [compozify convert](compozify_convert.md) - convert docker run command to docker compose file | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## compozify convert | ||
|
||
convert docker run command to docker compose file | ||
|
||
``` | ||
compozify convert [flags] DOCKER_RUN_COMMAND | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# convert and write to stdout | ||
$ compozify convert "docker run -i -t --rm alpine" | ||
# write to file | ||
$ compozify convert -w "docker run -i -t --rm alpine" | ||
# write to file with custom name | ||
$ compozify convert -w -o docker-compose.yml "docker run -i -t --rm alpine" | ||
# alternative usage specifying beginning of docker run command | ||
$ compozify convert -w -- docker run -i -t --rm alpine | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for convert | ||
-o, --out string output file path (default "compose.yml") | ||
-w, --write write to file | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-v, --verbose verbose output | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [compozify](compozify.md) - compozify is a tool mainly for converting docker run commands to docker compose files | ||
|