The container is designated to host all the required migration and verification tools needed in the field. Please refer for the Dockerfile for the list of included tools.
There is no latest tag, please use the version specific pull, for example: avinetworks/avitools:20.1.3
$ curl -O https://raw.githubusercontent.com/avinetworks/avitools/master/run.sh
$ chmod a+x run.sh
./run.sh -h
-v string specify AVI_VERSION, default value: 20.1.3
-c string specify CMD to execute, in this mode container will be created and destroyed on command run, default value: avitools-list
-d string specify working directory, where configuration files will exist, default value: /Users/smarunich/GitHub/avitools/scripts/avi
-u update docker image, i.e. try to pull docker image again
-b run in background, other words create avitools container and retain it, container can be accessible after script execution, for example as "docker exec -it avitools bash", default value: avitools-list
-n use host networking instead of docker daemon default network, i.e. docker run --net=host
$ ./run.sh -c avitools-list or ./run.sh or ./run.sh -v 20.1.3 -c avitools-list
$ ./run.sh -v 20.1.3 -c avitools-list
ex. sh run.sh -v <AVI_VERSION> -d <DIR> -c <COMMAND>
$ ./run.sh -c "f5_converter.py -h"
$ ./run.sh -c "f5_converter.py -f <filename>"
$ ./run.sh -v 20.1.3 -d /home/aviuser -c "f5_converter.py -h"
$ ./run.sh -v 20.1.3 -d /home/aviuser -c "f5_converter.py -f <filename>"
$ ./run.sh -c "ansible-playbook <playbook-name> -v"
$ ./run.sh -v 20.1.3 -c bash -d /home/aviuser/workspace -b
$ docker exec -it avitools bash
$ ./run.sh -v 20.1.3 -n -c bash -d /home/aviuser/workspace -b
$ ./run.sh -v 20.1.3 -n -d /home/aviuser -c "f5_converter.py -h"
cd build
docker build -t avinetworks/avitools:20.1.3 .
First you need to build a docker image Run the run.sh which is in scripts directory to run avitools on that image