Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
7a7d5c8f
Unverified
Commit
7a7d5c8f
authored
Apr 07, 2020
by
Vaibhav Sagar
Committed by
GitHub
Apr 07, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1153 from ad-si/patch-1
Extend section about Docker usage
parents
6063c58c
204f2e1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
README.md
README.md
+29
-0
No files found.
README.md
View file @
7a7d5c8f
...
...
@@ -126,6 +126,35 @@ docker build -t ihaskell:latest .
docker run
--rm
-it
-p8888
:8888 ihaskell:latest
```
Or use the continously updated Docker image
[
on Docker Hub
](
https://hub.docker.com/r/gibiansky/ihaskell
)
.
```
sh
docker run
--rm
-p
8888:8888 gibiansky/ihaskell
```
In order to mount your own local files into the Docker container
use following command:
```
sh
docker run
--rm
-p
8888:8888
-v
"
$PWD
"
:/home/jovyan/work gibiansky/ihaskell
```
Be aware that the directory you're mounting must contain
a
`stack.yaml`
file.
A simple version would be:
```
yaml
resolver
:
lts-14.23
packages
:
[]
```
It's recommended to use the same LTS version as the iHaskell image is using itself
(as can be seen in
[
its stack.yaml
](
./stack.yaml
)
).
This guarantees that stack doesn't have to first perform
a lengthy installation of GHC before running your notebook.
## Stack and Docker
IHaskell, being a Jupyter kernel, has a tall pile of compile-time and run-time
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment