This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

run code in docker

0 votes

I am running docker on my ubunto 14.04 machine. After getting the stable image of fenics I run the following:

docker run -ti -v (pwd):/home/fenics/sharedquay.io/fenicsproject/stablethenirunthefollowing:cdHOME/shared
and i run my file : python cours3.py
this is what I find:
fenics@d54131484c5a:~/shared$ python cours3.py
*** Warning: Matplotlib backend does not support 'interactive' kwarg yet. Ignoring it...
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Solving linear variational problem.
*** Warning: Matplotlib backend does not support 'interactive' kwarg yet. Ignoring it...
can you help me please

asked Jul 18, 2016 by maro FEniCS Novice (220 points)

In the docker environment, you will not have any graphics output. You will need to save your results to file, and view them e.g. with ParaView

Alternatively, you can run a jupyter notebook within docker, and use a web-browser.

1 Answer

0 votes

What is the problem? It looks like it is working.

answered Jul 18, 2016 by chris_richardson FEniCS Expert (31,740 points)
run code in doncker
...