getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] [getfem-commits] branch fixmisspell updated: Add docker


From: Tetsuo Koyama
Subject: [Getfem-commits] [getfem-commits] branch fixmisspell updated: Add docker images of python interface
Date: Tue, 26 May 2020 07:04:36 -0400

This is an automated email from the git hooks/post-receive script.

tkoyama010 pushed a commit to branch fixmisspell
in repository getfem.

The following commit(s) were added to refs/heads/fixmisspell by this push:
     new 1f059d1  Add docker images of python interface
1f059d1 is described below

commit 1f059d1d243c2464cd906b2ded6c0a90d5f9e527
Author: Tetsuo Koyama <address@hidden>
AuthorDate: Tue May 26 11:03:43 2020 +0000

    Add docker images of python interface
---
 doc/sphinx/source/install/install_linux.rst | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/doc/sphinx/source/install/install_linux.rst 
b/doc/sphinx/source/install/install_linux.rst
index 528e569..4d288df 100644
--- a/doc/sphinx/source/install/install_linux.rst
+++ b/doc/sphinx/source/install/install_linux.rst
@@ -257,3 +257,28 @@ A second problem arising with recent distribution of 
Matlab (2016a), is the inco
   LD_PRELOAD=/usr/lib/libblas.so:/usr/lib/liblapack.so matlab
 
 
+How to use docker images of python interface
+============================================
+
+Docker images for GetFEM are published on the `Docker Hub 
<https://hub.docker.com/>`_. There is a images:
+
+- `getfemdoc/getfem 
<https://hub.docker.com/repository/docker/getfemdoc/getfem>`_
+
+.. hint::
+
+   When running python script in developing version::
+
+      $ docker run --rm -v `pwd`:/work getfemdoc/getfem:latest 
/venv/bin/python3 script.py
+
+   When running python interpreter in developing version::
+
+      $ docker run --rm -v `pwd`:/work -t -i getfemdoc/getfem:latest 
/venv/bin/python3
+
+   When running python script in v5.4 version::
+
+      $ docker run --rm -v `pwd`:/work getfemdoc/getfem:v5.4 /venv/bin/python3 
script.py
+
+   When running python interpreter in v5.4 version::
+
+      $ docker run --rm -v `pwd`:/work -t -i getfemdoc/getfem:v5.4 
/venv/bin/python3
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]