Issue with wrapper script with latest mac os docker beta

Issue #51 resolved
David Bernstein created an issue

Hi Everyone, The dolfin-adjoint docker container was working fine on mac os up to yesterday. After the latest docker update the container doesn't start, instead I get this error:

fenicsproject run quay.io/dolfinadjoint/dolfin-adjoint [docker volume create --name instant-cache-quay.iodolfinadjointdolfin-adjoint]

instant-cache-quay.iodolfinadjointdolfin-adjoint [docker run --rm -ti --env HOST_UID=501 --env HOST_GID=20 -v instant-cache-quay.iodolfinadjointdolfin-adjoint:/home/fenics/.instant -v '/Users/Dave/Repositories/xetta/simulation/geothermal':/home/fenics/shared -w /home/fenics/shared --label org.fenicsproject.created_by_script=true quay.io/dolfinadjoint/dolfin-adjoint '']

docker: Error response from daemon: missing device in volume options. See 'docker run --help'.

The docker version is: Version 1.12.1-rc1-beta23 (build: 11375) 2f0427ac7d4d47c705934ae141c3a248ed7fff40

I have a colleague who successfully replicated the problem and thinks it might be an issue with a dolfin-adjoint script.

Thanks, Dave

Comments (4)

  1. Simon Funke

    Hi David,

    The container works fine for me on Linux and I do not have a Mac available here. Does standard fenics work ok for you, i.e. "fenicsproject run"?

    Best wishes,

    Simon

  2. David Bernstein reporter

    Hmm, well I'm not seeing this issue today. Now

    fenicsproject run quay.io/dolfinadjoint/dolfin-adjoint bash

    works fine. Also

    fenicsproject run stable bash

    works as well.

  3. Log in to comment