docs/swipl
Docker Library Bot 569da02b67 Run update.sh 2017-08-31 20:31:52 +00:00
..
README-short.txt Adding docs for official SWI-Prolog image. 2017-06-01 11:26:52 -04:00
README.md Run update.sh 2017-08-31 20:31:52 +00:00
content.md Update doc to typical deployment of prolog source. 2017-08-10 17:17:28 -04:00
github-repo Adding docs for official SWI-Prolog image. 2017-06-01 11:26:52 -04:00
license.md Adding docs for official SWI-Prolog image. 2017-06-01 11:26:52 -04:00
logo.png Adding docs for official SWI-Prolog image. 2017-06-01 11:26:52 -04:00
maintainer.md Adding docs for official SWI-Prolog image. 2017-06-01 11:26:52 -04:00

README.md

Supported tags and respective Dockerfile links

Quick reference

What is SWI-Prolog?

SWI-Prolog is a versatile implementation of the Prolog language. Its robust multi-threading, extended data types, unbounded arithmetic and Unicode representation of text allow for natural representation of documents (e.g., XML, JSON, RDF) and exchange of data with other programming paradigms.

wikipedia.org/wiki/Prolog

logo

How to use this image

Start a REPL

This image can be run directly to obtain an SWI-Prolog environment with most useful modules pre-built. When started without parameters, the SWI-Prolog REPL is launched automatically:

docker run -it swipl 

Build an image with your application

It is also useful to build images on top of this base image which rely on SWI-Prolog and provide their own default command:

FROM swipl
COPY . /app
CMD ["swipl", "/app/start.pl"]

This will extract and copy your source files to the image and then set the default command to run your application.

License

View the Simplified BSD license for the software contained in this image.