diff --git a/docker.md b/docker.md index 1050d57..2ad19bb 100644 --- a/docker.md +++ b/docker.md @@ -58,4 +58,19 @@ Application Version: ``` docker exec -it 2fbdec51b6c0 mysqldump --all-databases -FlK --skip-extended-insert --skip-dump-date | docker run --rm=true --hostname=test -iv /tmp/tsmpipe:/tsm leenooks/tsmpipe:8.1.0 -Bcs /test/test -f test -l 30000 -m md5 - ``` \ No newline at end of file + ``` + +## Dont want to build? +You can pull my image `docker pull registry.leenooks.net/deon/tsmpipe:8.1.0`. + +Then, create a directory and place in your `dsm.opt`, `dsm.sys` and ssl configuration files. + +Then, `docker run {options} registry.leenooks.net/deon/tsmpipe:8.1.0 {ARGUMENTS} ` where options are: +* `--rm=true` so that the container is deleted after running +* `--hostname=HOSTNAME` which is what will default to NODE_NAME in TSM +* `-i` to pipe to the container, you need this docker flag +* `-v /SOURCE:/tsm` map your directory with the configurations to :/tsm inside the container +* `registry.leenooks.net/deon/tsmpipe:8.1.0` the container image +* `{ARGUMENTS}` start with `-h` + +If you need to change your password, you need to use argument `-p`, but you'll also need to use docker argument `-t` with it. \ No newline at end of file