try install fenics in docker with mac(M2).
first step:
curl -s https://get.fenicsproject.org | bash;
On macOS we need your sudo password to install a script into /usr/local/bin/fenicsproject.
Password:
Successfully installed the fenicsproject script in /usr/local/bin/fenicsproject.
To get started, run the command
fenicsproject run
For more information, see fenicsproject help .
work well
Some trouble in second step
fenicsproject run
WARNING: daemon is not using the default seccomp profile
WARNING: daemon is not using the default seccomp profile
/usr/local/bin/fenicsproject: line 81: docker-machine: command not found
I try:
docker
this web advice, terminal show:
zsh: command not found: dockerd
after I use the advice from python - docker-machine: command not found for Mac - Stack Overflow
new problem
WARNING: daemon is not using the default seccomp profile
WARNING: daemon is not using the default seccomp profile
/usr/local/bin/docker-machine: line 1: Not: command not found
and I try other way:
docker pull quay.io/fenicsproject/stable:latest
latest: Pulling from fenicsproject/stable
[DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of quay.io/fenicsproject/stable:latest to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at Registry | Docker Docs
Please note that legacy dolfin is no longer recommended:
In April 2022 we released versions of the new FEniCS Project components; DOLFINx (v0.4.1) , FFCx (v0.4.2), Basix (v0.4.1) and UFL (2022.1.0.post0). These projects are hosted under our GitHub account at FEniCS Project · GitHub
We now recommend that all new projects begin in the new DOLFINx problem solving environment, rather than the old DOLFIN problem solving environment. We consider DOLFINx to be superior to the old DOLFIN, particularly in terms of performance, scalability, API consistency and…
If you really want to use legacy dolfin with docker, I would recommend the following docker image:
which holds an up to date docker image for and arm.
Thank you for your response
mekong
August 20, 2024, 4:31pm
6
How do I install it
I downloaded with docker pull ghcr.io/scientificcomputing/fenics-gmsh:2024-05-30
as indicated in the link and I get
% docker pull ghcr.io/scientificcomputing/fenics-gmsh:2024-05-30
2024-05-30: Pulling from scientificcomputing/fenics-gmsh
9b076355b79b: Pull complete
4f4fb700ef54: Pull complete
5e1cac267c4e: Pull complete
a76afe60e236: Pull complete
8aba3f7910fb: Pull complete
4d2bb45c5270: Pull complete
87e6873052d6: Pull complete
b1ca7c62fa31: Pull complete
fee58409e2bc: Pull complete
79b6dc78f048: Pull complete
7534953694e4: Pull complete
de56acb65d75: Pull complete
5b50686f8aa6: Pull complete
96012778cf13: Pull complete
db317a6a2d39: Pull complete
7b567597288d: Pull complete
4a52232dd10a: Pull complete
1e989f84e9d9: Pull complete
9ff0a834ba1a: Pull complete
f0611c9987c1: Pull complete
1cec9a675cf8: Pull complete
Digest: sha256:0bf22f477ef594ac5df53bc0b62bee426ad9b1bb184604dd6442718c6f898851
Status: Downloaded newer image for ghcr.io/scientificcomputing/fenics-gmsh:2024-05-30
ghcr.io/scientificcomputing/fenics-gmsh:2024-05-30
but then the link does not say anything on how to install it nor run it. How can I do this ?
For instance docker run -it ghcr.io/scientificcomputing/fenics-gmsh:2024-05-30
. That is basic docker knowledge, that you can find on any online resource on the topic, for instance through search engines.
When will the latest version of Fenics be available on? because it’s very helpful for Windows users
(Quay ) .
dokken
October 6, 2024, 1:49pm
9
What do you mean by this, the latest legacy main branch is available through:
I am not sure what a quay image would give as a benefit.