]> Repositorios git - scryer-prolog.git/commitdiff
Fixed link in Dockerfile documentation. Updated README with working Docker link....
authorpanasenco <[email protected]>
Fri, 22 May 2020 20:57:10 +0000 (13:57 -0700)
committerpanasenco <[email protected]>
Fri, 22 May 2020 20:57:48 +0000 (13:57 -0700)
Dockerfile
README.md

index 3b2c3a05837fd2135d45b745c9092758a6fd90f8..4ae378a5f1a2fcd56d158eb7df91275e0c580070 100755 (executable)
@@ -1,4 +1,4 @@
-# Based on https://hub.docker.com/_/rust?tab=description and https://hub.docker.com/_/rust?tab=description\r
+# Based on https://hub.docker.com/_/rust?tab=description and https://blog.sedrik.se/posts/my-docker-setup-for-rust/\r
 \r
 # The first container is for build purposes only.\r
 FROM rust as builder\r
index 623f7e6e71c39190d393f0c6b6128de9a55c0e75..cc81f416aad3587e009564e451cea963346e6202 100644 (file)
--- a/README.md
+++ b/README.md
@@ -130,23 +130,31 @@ producing a faster executable.
 
 ### Docker Install (All Platforms)
 
-To automatically download, install, and run Scryer Prolog via Docker,
-simply run:
+First, install [Docker](https://docs.docker.com/get-docker/) on Linux,
+Windows, or Mac.
+
+Once Docker is installed, you can automatically download, install, and
+run Scryer Prolog in a single command:
 ```
-$> docker run -it mthom/scryer-prolog
+$> docker run -it mjt128/scryer-prolog
 ```
 
-To be able to load your program files, bind mount your programs folder
-as a Docker volume:
+To consult your Prolog files, bind mount your programs folder as a
+[Docker volume](https://docs.docker.com/storage/volumes/):
 
 ```
-$> docker run -v /home/user/prolog:/mnt -it mthom/scryer-prolog
-?- consult('mnt/program.pl').
+$> docker run -v /home/user/prolog:/mnt -it mjt128/scryer-prolog
+?- consult('/mnt/program.pl').
 true.
 ```
 
-[Docker](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
-is currently the only way to run scryer-prolog on Windows.
+This works on Windows too:
+
+```
+$> docker run -v C:\Users\user\Documents\prolog:/mnt -it mjt128/scryer-prolog
+?- consult('/mnt/program.pl').
+true.
+```
 
 ## Tutorial