Docker Community Forums

Share and learn in the Docker community.

Error #2 ENOENT mounting a DB file


(Lucarav) #1

Expected behavior:

mounting a DB file in a host directory (docker volume) should just work and the DB should be able to mount it, instead it fails.

Actual behavior:

The mounting works and I can see (ls -l) the DIR and the DB file.
However, when the database issues the open() file system call,
it receives the ENOENT error 2 (no such file or dir).

The file was copied under /Volumes (as per documented constraints on Mac mount points)

When I perform the same operation in a Linux (CentOS, Ubuntu) environment it works perfectly, IOW I can mount the DB file and use it; the open() system call is successful.

Information

Docker for Mac 1.11.1 beta 12
OSX 10.10.5

  • the output of:
    • pinata diagnose -u on OSX
      pinata diagnose -u
      OS X: version 10.10.5 (build: 14F1808)
      Docker.app: version v1.11.1-beta12
      Running diagnostic tests:
      [OK] Moby booted
      [OK] driver.amd64-linux
      [OK] vmnetd
      [OK] osxfs
      [OK] db
      [OK] slirp
      [OK] menubar
      [OK] environment
      [OK] Docker
      [OK] VT-x
      Docker logs are being collected into /tmp/20160520-103156.tar.gz
      Most specific failure is: No error was detected
      Your unique id is: 7F1E34F2-89DD-4D71-B43D-0B18E34C3F53
      Please quote this in all correspondence.

Steps to reproduce the behavior

Mount a CACHE.DAT host database file (InterSystems Caché database) and try to mount it on a MAC.

Thank you all.


(Skillable) #2

related issue: https://forums.docker.com/t/cant-start-elasticsearch-with-mounted-data-directory-f-stat-v-fs-family-of-functions/8705


(Lucarav) #3

Any news from last month?
thank you all