put files into a current directory then execute a command. You have to map a directory with files to /netops directory in Docker to make it work. Below I use current directory $(pwd) as an example
docker run -v $(pwd):/netops nar3k/netops-ips FILE-PREFIX
example
$ ls -l
-rw-r--r--. 1 root root 1008 Jun 16 07:49 ex8.j2 -rw-r--r--. 1 root root 455 Jun 16 07:48 ex8.yml
docker run -v $(pwd):/netops nar3k/netops-ips ex8
Content type
Image
Digest
Size
262.1 MB
Last updated
over 9 years ago
docker pull nar3k/netops-ips