Skip to content

Commit 2c38f7e

Browse files
authored
Update README with docker instruction
fix address of docker image docker badge
1 parent 83fdcbb commit 2c38f7e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<a href="https://www.codacy.com/app/mathLab/PyGeM?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mathLab/PyGeM&amp;utm_campaign=Badge_Grade" target="_blank">
1717
<img alt="Codacy Badge" src="https://api.codacy.com/project/badge/Grade/7299abd9d61c4aa586903d80cea01c82">
1818
</a>
19+
<a href="https://registry.hub.docker.com/r/sissamathlab/pygem">
20+
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/sissamathlab/pygem">
21+
</a>
1922
</p>
2023

2124
[PyGeM](http://mathlab.github.io/PyGeM/) (Python Geometrical Morphing) is a python package that allows you to deform a given geometry or mesh with different deformation techniques such as FFD, RBF and IDW.
@@ -83,25 +86,25 @@ Docker containers are extremely lightweight, secure, and are based on open stand
8386
Install Docker for your platform by following [these instructions](https://docs.docker.com/engine/getstarted/step_one/).
8487
If using the Docker Toolbox (macOS versions < 10.10 or Windows versions < 10), make sure you run all commands inside the Docker Quickstart Terminal.
8588

86-
Now we will pull the docker.io/pygemdocker/pygem image from our cloud infrastructure:
89+
Now we will pull the sissamathlab/pygem image from our cloud infrastructure:
8790
```bash
88-
> docker pull docker.io/pygemdocker/pygem:latest
91+
> docker pull sissamathlab/pygem:latest
8992
```
9093
Docker will pull the latest tag of the image pygemdocker/pygem from docker.io. The download is around 3.246 GB. The image is a great place to start experimenting with PyGeM and includes all dependencies already compiled for you.
9194
Once the download is complete you can start PyGeM for the first time. Just run:
9295
```bash
93-
> docker run -ti pygemdocker/pygem:latest
96+
> docker run -ti sissamathlab/pygem:latest
9497
```
9598
To facilitate the devoloping, using the text editor,version control and other tools already installed on your computers,
9699
it is possible to share files from the host into the container:
97100

98101
```bash
99-
> docker run -ti -v $(pwd):/home/PyGeM/shared pygemdocker/pygem:latest
102+
> docker run -ti -v $(pwd):/home/PyGeM/shared sissamathlab/pygem:latest
100103
```
101104
To allow the X11 forwarding in the container, on Linux system just run:
102105

103106
```bash
104-
> docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/home/PyGeM/shared pygemdocker/pygem:latest
107+
> docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/home/PyGeM/shared sissamathlab/pygem:latest
105108
```
106109

107110
For Windows system, you need to install Cygwin/X version and running the command in Cygwin terminal. While for mac system, you need to install xquartz.

0 commit comments

Comments
 (0)