Using DockerΒΆ

Docker is an open-source project that automates the deployment of Linux applications inside software containers. We provide Docker images to enable to run PyClangLite on various platforms (in particular Windows and MacOS). For the installation of Docker, please refers to its documentation. Then, you can use the statiskit/pyclanglite:trusty Docker image to run PyClangLite:

$ docker run -it statiskit/pyclanglite:trusty

Note that, for convenience IPython and Jupyter packages are installed. You can therefore use:

  • The IPython console.

    $ ipython
    
  • The Jupyter notebook within the Firefox web-browser.

    $ jupyter notebook
    

    This requires to able to run Linux GUI Apps:

    • On Linux, this is done using the following command in place of the previous command:

      $ docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix statiskit/ubuntu:PyClangLite
      
    • On Windows refers to this post.

    • On MacOs refers to this post.