Repository: boot2docker/boot2docker

Issue #1355: Attach failed on macOS 10.14.1
Created: 2018-11-15T10:35:53Z
Hello,
When creating a docker machine, I get the following error:
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/x/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/x/.docker/machine/machines/default/b2d-image] []  <nil> 0xc00000e018 0xc00000e020 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/x/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/x/.docker/machine/machines/default/b2d-image
(default) DBG | hdiutil: attach failed - no mountable file systems

Below is a log from the hdiutil command:
$ hdiutil attach boot2docker.iso -verbose
Initialising…
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
DIDiskImageInstantiatorProbe: interface  0, score    -1000, CUDIFDiskImage
DIDiskImageInstantiatorProbe: interface  1, score        0, CSparseBundleDiskImage
DIDiskImageInstantiatorProbe: interface  2, score        0, CSparseDiskImage
DIDiskImageInstantiatorProbe: interface  3, score      100, CRawDiskImage
DIDiskImageInstantiatorProbe: interface  4, score        0, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  5, score        0, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  6, score        0, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  8, score     -100, CShadowedDiskImage
DIDiskImageInstantiatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
DIDiskImageInstantiatorProbe: interface 10, score     -100, CWrappedDiskImage
DIDiskImageNewWithBackingStore: CRawDiskImage
DIDiskImageNewWithBackingStore: instantiator returned 0
Attaching…
Mounting…
2018-11-15 11:20:26.145 diskimages-helper[38988:1018357] DIHelperHDID serveImage: attaching drive
{
    autodiskmount = 1;
    "hdiagent-drive-identifier" = "C41EC4F9-22DC-4D0E-8787-27195C72D4EA";
    "unmount-timeout" = 0;
}
2018-11-15 11:20:26.146 diskimages-helper[38988:1018357] DIHelperHDID serveImage: connecting to myDrive 0x400B
2018-11-15 11:20:26.146 diskimages-helper[38988:1018357] DIHelperHDID serveImage: register _readBuffer 0x10b494000
2018-11-15 11:20:26.146 diskimages-helper[38988:1018357] DIHelperHDID serveImage: activating drive port 17931
2018-11-15 11:20:26.146 diskimages-helper[38988:1018357] DIHelperHDID serveImage: set cache enabled=TRUE returned FAILURE.
2018-11-15 11:20:26.146 diskimages-helper[38988:1018357] DIHelperHDID serveImage: set on IO thread=TRUE returned SUCCESS.
2018-11-15 11:20:26.146 diskimages-helper[38988:1018357] -processKernelRequest: will sleep received
2018-11-15 11:20:26.773 diskimages-helper[38988:1018355] _postflightMountPointsAfterDAMount: disk2s1 aborting because no mount point found.
2018-11-15 11:20:26.773 diskimages-helper[38988:1018355] _postflightMountPointsAfterDAMount: disk2 aborting because no mount point found.
2018-11-15 11:20:26.774 diskimages-helper[38988:1018355] allowMountReturningDictionary: detaching because no mountable filesystems.
Attaching…
Error 112 (no mountable file systems).
Finishing…
DIHLDiskImageAttach() returned 112
hdiutil: attach failed - no mountable file systems

OS: macOS 10.14.1
boot2docker version: 18.09.0
I've tried the version 18.06.1-ce and that version mounts fine.

Duplicate issue #1365: docker-machine create fails on MacOS with hdiutil: attach failed - no mountable file systems using v18.09.0
Created: 2018-11-28T17:40:47Z
Been working fine and today I am hitting this issue.
Sample of the docker-machine create:
$ docker-machine -D create --driver xhyve --engine-storage-driver overlay2 --xhyve-cpu-count -1 --xhyve-memory-size 6144 chat-manager
Docker Machine Version:  0.16.0, build 702c267f
Found binary path at /usr/local/bin/docker-machine-driver-xhyve
Launching plugin server for driver xhyve
Plugin server listening at address 127.0.0.1:49677
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine-driver-xhyve
Launching plugin server for driver xhyve
Plugin server listening at address 127.0.0.1:49683
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(chat-manager) Calling .GetMachineName
(chat-manager) Calling .DriverName
(chat-manager) Calling .GetCreateFlags
(chat-manager) Calling .SetConfigFromFlags
Reading certificate data from /Users/esette/.docker/machine/certs/ca.pem
Decoding PEM data...
Parsing certificate...
Reading certificate data from /Users/esette/.docker/machine/certs/cert.pem
Decoding PEM data...
Parsing certificate...
Running pre-create checks...
(chat-manager) Calling .PreCreateCheck
(chat-manager) DBG | ===== Docker Machine xhyve Driver Version 0.3.3 (Homebrew7d92f74) =====
(chat-manager) DBG |
(chat-manager) Calling .GetConfigRaw
Creating machine...
(chat-manager) Calling .Create
(chat-manager) DBG | local Boot2Docker ISO version:
(chat-manager) Default Boot2Docker ISO is out-of-date, downloading the latest release...
(chat-manager) Latest release for github.com/boot2docker/boot2docker is v18.09.0
(chat-manager) Downloading /Users/esette/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v18.09.0/boot2docker.iso...
(chat-manager) DBG | Fix boot2docker.iso file permission...
(chat-manager) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
(chat-manager) Copying /Users/esette/.docker/machine/cache/boot2docker.iso to /Users/esette/.docker/machine/machines/chat-manager/boot2docker.iso...
(chat-manager) Creating VM...
(chat-manager) DBG | Mounting boot2docker.iso
(chat-manager) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/esette/.docker/machine/machines/chat-manager/boot2docker.iso -mountpoint /Users/esette/.docker/machine/machines/chat-manager/b2d-image] []   0xc42000e018 0xc42000e020 []      false [] [] [] []  } attach /Users/esette/.docker/machine/machines/chat-manager/boot2docker.iso -mountpoint /Users/esette/.docker/machine/machines/chat-manager/b2d-image
(chat-manager) DBG | hdiutil: attach failed - no mountable file systems
Error creating machine: Error in driver during machine creation: exit status 1
notifying bugsnag: [Error creating machine: Error in driver during machine creation: exit status 1]

Closing comment (2018-11-28T20:36:29Z): Duplicate of #1355