From 2c38f7e7254c8169e474990576d2b0150b2988a6 Mon Sep 17 00:00:00 2001 From: Nicola Demo Date: Wed, 1 Apr 2020 09:17:18 +0200 Subject: [PATCH] Update README with docker instruction fix address of docker image docker badge --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a65f7263..fb7776f8 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ Codacy Badge + + Docker Pulls +

[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 Install Docker for your platform by following [these instructions](https://docs.docker.com/engine/getstarted/step_one/). If using the Docker Toolbox (macOS versions < 10.10 or Windows versions < 10), make sure you run all commands inside the Docker Quickstart Terminal. -Now we will pull the docker.io/pygemdocker/pygem image from our cloud infrastructure: +Now we will pull the sissamathlab/pygem image from our cloud infrastructure: ```bash -> docker pull docker.io/pygemdocker/pygem:latest +> docker pull sissamathlab/pygem:latest ``` 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. Once the download is complete you can start PyGeM for the first time. Just run: ```bash -> docker run -ti pygemdocker/pygem:latest +> docker run -ti sissamathlab/pygem:latest ``` To facilitate the devoloping, using the text editor,version control and other tools already installed on your computers, it is possible to share files from the host into the container: ```bash -> docker run -ti -v $(pwd):/home/PyGeM/shared pygemdocker/pygem:latest +> docker run -ti -v $(pwd):/home/PyGeM/shared sissamathlab/pygem:latest ``` To allow the X11 forwarding in the container, on Linux system just run: ```bash -> docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/home/PyGeM/shared pygemdocker/pygem:latest +> docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/home/PyGeM/shared sissamathlab/pygem:latest ``` 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.