This dockerfile will build a Windows image with LabVIEW 2019.
- Clone the repo
- CD into this directory
- Run
docker build --pull --rm -f "Dockerfile" -t nidocker:latest "."
- Depending on your docker setup you may need to pass a
--network
flag - Run
docker network ls
to see all your available networks, pick one that can reach the outside world
- Depending on your docker setup you may need to pass a
- The install should take a while and complete
- Ensure the docker image you just built is available
docker image ls
- Run
docker run -it --name=labview-test nidocker
- This will run a container from the image you just made, and you should be able to call labview via command line
- Big thanks to Chris Stryker for this writeup on how to license a container-based LabVIEW instance. I, too, spent a long time trying a better way, but I have nothing, yet.