Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://hub.docker.com/r/juniper/pyez-ansible/


Start by clicking on the docker icon ( windows ) 

Image Added

Commands:

docker pull juniper/pyez-ansible

docker run -it --rm juniper/pyez-ansible ash
### see below, with mounted folder ### docker run -it --rm -v $PWD:/project juniper/pyez-ansible ash

vMX config for ansible + Netconfig

...

jkriker@jkriker-T460 MINGW64 ~/Documents/ansiblescript/facts_playbook
$ ls
hosts playbook.yml


Start the container:

docker run -it --rm -v $PWD:/project juniper/pyez-ansible ash

-it
--rm
-v    $PWD         is the host directory
        :/project    is the container directory

...