This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm -rf /Users/dabou/.docker/ | |
| docker-machine create dev --engine-insecure-registry 172.30.0.0/16 | |
| Creating CA: /Users/dabou/.docker/machine/certs/ca.pem | |
| Creating client certificate: /Users/dabou/.docker/machine/certs/cert.pem | |
| Running pre-create checks... | |
| (dev) Image cache directory does not exist, creating it at /Users/dabou/.docker/machine/cache... | |
| (dev) No default Boot2Docker ISO found locally, downloading the latest release... | |
| (dev) Latest release for github.com/boot2docker/boot2docker is v18.06.1-ce | |
| (dev) Downloading /Users/dabou/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v18.06.1-ce/boot2docker.iso... | |
| (dev) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100% | |
| Creating machine... | |
| (dev) Copying /Users/dabou/.docker/machine/cache/boot2docker.iso to /Users/dabou/.docker/machine/machines/dev/boot2docker.iso... | |
| (dev) Creating VirtualBox VM... | |
| (dev) Creating SSH key... | |
| (dev) Starting the VM... | |
| (dev) Check network to re-create if needed... | |
| (dev) Waiting for an IP... | |
| Waiting for machine to be running, this may take a few minutes... | |
| Detecting operating system of created instance... | |
| Waiting for SSH to be available... | |
| Detecting the provisioner... | |
| Provisioning with boot2docker... | |
| Copying certs to the local machine directory... | |
| Copying certs to the remote machine... | |
| Setting Docker configuration on the remote daemon... | |
| Checking connection to Docker... | |
| Docker is up and running! | |
| To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env dev | |
| docker-machine env dev | |
| export DOCKER_TLS_VERIFY="1" | |
| export DOCKER_HOST="tcp://192.168.99.101:2376" | |
| export DOCKER_CERT_PATH="/Users/dabou/.docker/machine/machines/dev" | |
| export DOCKER_MACHINE_NAME="dev" | |
| # Run this command to configure your shell: | |
| # eval $(docker-machine env dev) | |
| eval $(docker-machine env dev) | |
| dabou@dabou ~/Temp/to-be-deleted oc cluster up --public-hostname=192.168.99.100 | |
| Getting a Docker client ... | |
| Checking if image openshift/origin-control-plane:v3.10 is available ... | |
| Pulling image openshift/origin-control-plane:v3.10 | |
| Pulled 1/5 layers, 21% complete | |
| Pulled 2/5 layers, 52% complete | |
| Pulled 3/5 layers, 69% complete | |
| Pulled 4/5 layers, 89% complete | |
| Pulled 5/5 layers, 100% complete | |
| Extracting | |
| Image pull complete | |
| Pulling image openshift/origin-cli:v3.10 | |
| Pulled 1/4 layers, 26% complete | |
| Pulled 2/4 layers, 64% complete | |
| Pulled 3/4 layers, 83% complete | |
| Pulled 4/4 layers, 100% complete | |
| Extracting | |
| Image pull complete | |
| Pulling image openshift/origin-node:v3.10 | |
| Pulled 5/6 layers, 84% complete | |
| Pulled 5/6 layers, 96% complete | |
| Pulled 6/6 layers, 100% complete | |
| Extracting | |
| Image pull complete | |
| Creating shared mount directory on the remote host ... | |
| Determining server IP ... | |
| Using public hostname IP 192.168.99.100 as the host IP | |
| Checking if OpenShift is already running ... | |
| Checking for supported Docker version (=>1.22) ... | |
| Checking if insecured registry is configured properly in Docker ... | |
| Checking if required ports are available ... | |
| Checking if OpenShift client is configured properly ... | |
| Checking if image openshift/origin-control-plane:v3.10 is available ... | |
| Starting OpenShift using openshift/origin-control-plane:v3.10 ... | |
| I0826 17:53:49.729885 41103 flags.go:30] Running "create-kubelet-flags" | |
| I0826 17:53:50.532675 41103 run_kubelet.go:48] Running "start-kubelet" | |
| I0826 17:53:50.636592 41103 run_self_hosted.go:172] Waiting for the kube-apiserver to be ready ... | |
| E0826 17:59:35.649640 41103 run_self_hosted.go:542] API server error: Get https://192.168.99.100:8443/healthz?timeout=32s: dial tcp 192.168.99.100:8443: connect: host is down () | |
| Error: timed out waiting for the condition | |
| docker-machine ssh dev | |
| ## . | |
| ## ## ## == | |
| ## ## ## ## ## === | |
| /"""""""""""""""""\___/ === | |
| ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ | |
| \______ o __/ | |
| \ \ __/ | |
| \____\_______/ | |
| _ _ ____ _ _ | |
| | |__ ___ ___ | |_|___ \ __| | ___ ___| | _____ _ __ | |
| | '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__| | |
| | |_) | (_) | (_) | |_ / __/ (_| | (_) | (__| < __/ | | |
| |_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_| | |
| Boot2Docker version 18.06.1-ce, build HEAD : c7e5c3e - Wed Aug 22 16:27:42 UTC 2018 | |
| Docker version 18.06.1-ce, build e68fc7a | |
| docker@dev:~$ |
oc 3.10 is still working with Docker communityedition client (= hyperkit) but not anymore using docker-machine + virtualbox
See : openshift/origin#20753
For the VM I use VirtualBox Version 5.2.18 r124319 (Qt5.6.3)
OS: macOS High Sierra Version 10.13.6
Ram: 16Gb
As you use docker community edition, then virtualbox is not used anymore but instead hyperkit with a host bridge. This is why you access the API Server using the address -> http://127.0.0.1:xxx
I have opened q ticket for users using docker-machine + virtualbox as 3.10 doesn't work anymore due to all the changes they did : openshift/origin#20753
I can start 3.10 with minishift like also ASB
minishift v1.23.0+91235ee
minishift config set memory 6G
minishift config set openshift-version v3.10.0
minishift addons enable admin-user
MINISHIFT_ENABLE_EXPERIMENTAL=y minishift start --extra-clusterup-flags="--enable=*,service-catalog,automation-service-broker"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the versions I use:

oc: v3.10.0+dd10d17
Docker: