FEniCS installation on docker

Hi, I am trying to install and pull the FEniCS but its saying image is not available.
Any suggestion on it, i want to use Fenics on docker( Widows)
docker run -ti -v ${pwd}:/home/fenics/shared quay.io/fenicsproject/latest

Unable to find image ‘quay.io/fenicsproject/latest:latest’ locally
docker: Error response from daemon: failed to resolve reference “quay.io/fenicsproject/latest:latest”: unexpected status from HEAD request to https://quay.io/v2/fenicsproject/latest/manifests/latest: 401 UNAUTHORIZED.
See ‘docker run --help’

It is suggested to use FEniCSx:
docker run -ti -v ${pwd}:/home/fenics/shared dolfinx/dolfinx:v0.9.0

For legacy I believe you would need:
docker run -ti -v ${pwd}:/home/fenics/shared quay.io/fenicsproject/stable:current

Although I am also getting an error message on the latter:
“docker: [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 to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/.

For legacy fenics use the images provided at:

as we are just about to update the installation note

1 Like

I changed the quay.io to ghcr.io

back in 2022 when i pull image from quay.io than i used command “cd shared” to get into folder, where i put my code files and run them.

but now its not allowed me to share disk or i am unable to find the installation directory. Please any suggestion on it.

Replace your sharing command with
-v $(pwd):/root/shared -w /root/shared

1 Like

It worked, thank you