Skip to content

Improve QEMU-based container host (Docker Desktop) compatibility #976

@achimnol

Description

@achimnol

When using Docker Desktop for Mac or other container host based on QEMU VMs, you may see errors like:

invalid mount config for type "bind": bind source path does not exist: /tmp/backend.ai/ipc/container

One known workaround so far is to replace /tmp with a physically available host directory (such as $HOME/somewhere), but recently (since 4.15 release on Dec 1st 2022), Docker Desktop began to use virtiofs as their default filesystem driver which is not compatible with UNIX socket bind-mounts between macOS and the QEMU VM.

We need to upgrade our socket-relay container's socat version to 1.7.4 or higher (currently it's 1.7.3) and let it use VSOCK-LISTEN instead of UNIX-LISTEN with QEMU-based container hosts.

Also we need to patch libzmq and pyzmq to support VSOCK: zeromq/libzmq#4491

Reported-by: @inureyes

ref)

JIRA Issue: BA-225

Metadata

Metadata

Labels

No labels
No labels

Type

No fields configured for Story.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions