Hi,
I’m trying to run mobile-core a my Mac and I running this problem:
{
"changed": false,
"cmd": "oc cluster up --service-catalog=true
--host-config-dir=/Users/passos/Development/Projects/AeroGear/mobile-core/ui
--host-data-dir=/Users/passos/Development/Projects/AeroGear/mobile-core/ui/openshift-data
--host-pv-dir=/Users/passos/Development/Projects/AeroGear/mobile-core/ui/openshift-pvs
--host-volumes-dir=/Users/passos/Development/Projects/AeroGear/mobile-core/ui/openshift-volumes
--routing-suffix=192.168.37.1.nip.io --public-hostname=192.168.37.1
--version=v3.7.0 --image=openshift/origin",
"delta": "0:00:03.655825",
"end": "2018-01-09 15:58:00.300861",
"failed": true,
"msg": "non-zero return code",
"rc": 1,
"start": "2018-01-09 15:57:56.645036",
"stderr": "",
"stderr_lines": [],
"stdout": "Starting OpenShift using openshift/origin:v3.7.0
...\n-- Checking OpenShift client ... OK\n-- Checking Docker client
... OK\n-- Checking Docker version ... OK\n-- Checking for existing
OpenShift container ... OK\n-- Checking for openshift/origin:v3.7.0
image ... OK\n-- Checking Docker daemon configuration ... OK\n--
Checking for available ports ... OK\n-- Checking type of volume mount
... \n Using Docker shared volumes for OpenShift volumes\n-- Creating
host directories ... OK\n-- Finding server IP ... \n Using public
hostname IP 192.168.37.1 as the host IP\n Using 192.168.37.1 as the
server IP\n-- Checking service catalog version requirements ... OK\n--
Starting OpenShift container ... \n Creating initial OpenShift
configuration\nFAIL\n Error: could not create OpenShift
configuration\n Caused By:\n Error: cannot start container
80344c3dfaeb8c3036360fef07ac411c0f516b2ef8faeba0003e3ccf205d2f42\n
Caused By:\n Error: Error response from daemon: {"message":"linux
mounts: path /Users/passos/Development/Projects/AeroGear/mobile-core/ui/openshift-volumes
is mounted on /Users but it is not a shared or slave mount"}",
"stdout_lines": [
"Starting OpenShift using openshift/origin:v3.7.0 ...",
"-- Checking OpenShift client ... OK",
"-- Checking Docker client ... OK",
"-- Checking Docker version ... OK",
"-- Checking for existing OpenShift container ... OK",
"-- Checking for openshift/origin:v3.7.0 image ... OK",
"-- Checking Docker daemon configuration ... OK",
"-- Checking for available ports ... OK",
"-- Checking type of volume mount ... ",
" Using Docker shared volumes for OpenShift volumes",
"-- Creating host directories ... OK",
"-- Finding server IP ... ",
" Using public hostname IP 192.168.37.1 as the host IP",
" Using 192.168.37.1 as the server IP",
"-- Checking service catalog version requirements ... OK",
"-- Starting OpenShift container ... ",
" Creating initial OpenShift configuration",
"FAIL",
" Error: could not create OpenShift configuration",
" Caused By:",
" Error: cannot start container
80344c3dfaeb8c3036360fef07ac411c0f516b2ef8faeba0003e3ccf205d2f42",
" Caused By:",
" Error: Error response from daemon: {
"message":"linux mounts: path
/Users/passos/Development/Projects/AeroGear/mobile-core/ui/openshift-volumes
is mounted on /Users but it is not a shared or slave mount"
}"
]
}
Here is my environment:
→ oc version
oc v3.7.0+7ed6862
kubernetes v1.7.6+a08f5eeb62
→ docker -v
Docker version 17.12.0-ce, build c97c6d6
--
-- Passos
Show replies by date