Update docker

Deon George 2017-11-29 06:02:35 +00:00
parent a8c1f4abbc
commit 591fa5764d

@ -59,3 +59,18 @@ 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
```
## 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.