Problems using docker machine with vagrant box using btrfs

We have an old legacy app that we can’t get to work with AUFS. We have a custom vagrant box with docker installed that works fine. However, when I try to use docker-machine to link into that vagrant box it fails with Error creating machine: Error running provisioning: exit status 6

This is my command: docker-machine --debug create --engine-storage-driver btrfs --driver generic --generic-ip-address=192.168.15.23 --generic-ssh-key=/Users/devonh/Documents/webhome/qualtricsRepos/control-panel/monolith-locally-test/.vagrant/machines/default/virtualbox/private_key --generic-ssh-user vagrant vm

I’ve included the debug log, but that wasn’t super helpful. I’m at a complete loss on how else to debug this.

Docker Machine Version: 0.7.0, build a650a40
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver generic
Plugin server listening at address 127.0.0.1:53631
() 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
Launching plugin server for driver generic
Plugin server listening at address 127.0.0.1:53635
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(vm) Calling .GetMachineName
(vm) Calling .DriverName
(vm) Calling .GetCreateFlags
(vm) Calling .SetConfigFromFlags
Running pre-create checks…
(vm) Calling .PreCreateCheck
(vm) Calling .GetConfigRaw
Creating machine…
(vm) Calling .Create
(vm) Importing SSH key…
(vm) Calling .GetConfigRaw
(vm) DBG | IP: 192.168.15.23
(vm) Calling .DriverName
(vm) Calling .DriverName
Waiting for machine to be running, this may take a few minutes…
(vm) Calling .GetState
Detecting operating system of created instance…
Waiting for SSH to be available…
Getting to WaitForSSH function…
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
About to run SSH command:
exit 0
SSH cmd err, output: :
Detecting the provisioner…
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: : NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL=“https://bugs.centos.org/

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION=“7”

Couldn’t set key CPE_NAME, no corresponding struct field found
Couldn’t set key , no corresponding struct field found
Couldn’t set key CENTOS_MANTISBT_PROJECT, no corresponding struct field found
Couldn’t set key CENTOS_MANTISBT_PROJECT_VERSION, no corresponding struct field found
Couldn’t set key REDHAT_SUPPORT_PRODUCT, no corresponding struct field found
Couldn’t set key REDHAT_SUPPORT_PRODUCT_VERSION, no corresponding struct field found
Couldn’t set key , no corresponding struct field found
found compatible host: centos
Provisioning with centos…
(vm) Calling .GetMachineName
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
installing base package: name=curl
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
checking docker daemon
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetMachineName
(vm) Calling .GetIP
Copying certs to the local machine directory…
generating server cert: /Users/devonh/.docker/machine/machines/vm/server.pem ca-key=/Users/devonh/.docker/machine/certs/ca.pem private-key=/Users/devonh/.docker/machine/certs/ca-key.pem org=devonh.vm san=[192.168.15.23 localhost]
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
Copying certs to the remote machine…
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetURL
(vm) Calling .DriverName
Setting Docker configuration on the remote daemon…
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
(vm) Calling .GetSSHHostname
(vm) Calling .GetSSHPort
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHKeyPath
(vm) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/devonh/.docker/machine/machines/vm/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none vagrant@192.168.15.23 -o IdentitiesOnly=yes -i /Users/devonh/.docker/machine/machines/vm/id_rsa -p 22] /usr/bin/ssh }
Error creating machine: Error running provisioning: exit status 6
Opting out of crash reporting.

Hello, have your solved this problem?
I met the same case with you…