Skip to content

Commit c1e6427

Browse files
committed
Adding rough instructions
1 parent 559f6d9 commit c1e6427

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

install/docker/Readme.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Docker
2+
3+
First steps towards running fidimag through Docker.
4+
5+
## Using the docker container
6+
7+
There is a fidimag container available under `fangohr/fidimag`.
8+
9+
To use it, you can try this:
10+
11+
1. Install docker
12+
13+
2. Pull the container onto your machine using
14+
15+
`docker pull fangohr/fidimag`
16+
17+
3. Start the container using
18+
19+
`docker run -ti fangohr/fidimag`
20+
21+
## Creating the docker container
22+
23+
## Shortcomings
24+
25+
- need to share directory between host and container (MOUNT or VOLUME)
26+
27+
- make use of jupyter notebook work (as we have seen in FEniCS course): connect port in container to port on host machine (EXPOSE)
28+
29+
## Creating the docker container
30+
31+
The `Makefile` in this directory shows the relevant targets (build, login, push) to create a new container and push it to the the cloud.
32+
33+
34+
35+
36+

0 commit comments

Comments
 (0)