Test it with Docker¶
Note
Docker [Mer14] is an open-source project that automates the deployment of Linux applications inside software containers.
We provide Docker images to enable to run AutoWIG on various platforms (in particular Windows and MacOS).
For the installation of Docker, please refers to its documentation.
Then, you can use the statiskit/autowig
Docker image to run AutoWIG:
$ docker run -i -t -p 8888:8888 statiskit/autowig
A list of all available images can be found here.
The image tagged latest
is unstable, it could be preferable to use the one attached with the AutoWIG paper submitted in Journal of Computational Science (tagged v1.0.0-alpha
) as follows:
$ docker run -i -t -p 8888:8888 statiskit/autowig:v1.0.0-alpha
For convenience, examples are presented in Jupyter notebooks. You can therefore proceed – in the container’s terminal – as follows to run examples:
Launch the Jupyter notebook with the following command
$ jupyter notebook --ip='*' --port=8888 --no-browser
Copy the URL given in the container’s terminal and paste it in your browser. This URL should looks like
http://localhost:8888/?token=/[0-9a-fA-F]+/
.Click on the notebooks you want to run (denoted by
*.ipynb
) and then
Warning
For some systems as Ubuntu, Docker requires root permissions (see this page for more information).