Tag: osx

How do I connect to a docker container running on a different host on a mac?

I have set up docker on my Mac using Kinematic. I have a mysql container running. So, the ‘schematic’, I believe, looks like this: (Mac1 (VirtualBox Docker Host (MySQL Container))). Mac1 IP: MySQL Container: running on port 32500 (mapped to 3306) I can access the MySQL server via from Mac1 without any […]

Docker Quickstart Terminal nano: unrecognized option `–login'

When starting Docker Quickstart Terminal on macos el capitan I get this error: bash –login ‘/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh’ Password: nano: unrecognized option `–login’ Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]… Option GNU long option Meaning -h, -? –help Show this message +LINE,COLUMN Start at line LINE, column COLUMN -A –smarthome Enable smart home key -B –backup Save […]

Gradle Docker plugin broken pipe on osx

Hi I try to use this awesome Gradle plugin: https://github.com/bmuschko/gradle–docker-plugin I use the following URL obtained from my docker-machine / kitematic installation on osx: docker-machine url default tcp:// However using: url = “tcp://” results in the error: org.apache.http.conn.UnsupportedSchemeException: tcp protocol is not supported When I change the tcp to httpI get a different error: INFO […]

PHPStorm, Docker and debugging

I’m trying to debug php code with PHPStorm. I’m on a Mac with docker. I configured xdebug on docker using: zend_extension=”/usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so” xdebug.remote_enable = 1 xdebug.remote_connect_back=1 xdebug.idekey = “PHPSTORM” Then I open the listening on PHPStorm, set the cookie in the browser and then load a page setting a break point in the corresponding point. It […]

Have to docker-machine ssh default to pull images

I just install the latest Docker on my Mac. I get an error when I run docker pull hello-world: foo:~ muxi$ docker pull docker/whalesay Using default tag: latest Pulling repository docker.io/docker/whalesay Network timed out while trying to connect to https://index.docker.io/v1/repositories/docker/whalesay/images. You may want to check your internet connection or if you are behind a proxy. […]

Install Docker on Jenkins on OSX

I have a local jenkins on OSX. It’s working fine, but now I want to perform docker builds inside the jenkins. So I have to install docker inside my jenkins. Is this possible, because I thought you can’t install docker on osx? (only docker-machine). I don’t know if it’s possible to configure jenkins to use […]

Connecting to Kubernetes on Docker on OSX?

I’m on an OSX host using docker-machine to manage my docker installation. I’m trying to get a kubernetes cluster set up and I’m having a hard time running kubectl on my host. Right now I’m running this to launch it: . docker_kube_env.sh # Set K8S_VERSION and KUBECONFIG docker run \ –volume=/:/rootfs:ro \ –volume=/sys:/sys:ro \ –volume=/var/lib/docker/:/var/lib/docker:rw […]

Docker cannot write to assets folder as web server process in Yii/PHP application locally OS X

appreciate if you could help me. I’m running docker VM in a MAC OS X and seems okay until i reach a permissions error when my app is trying to write files in the assets folder in the server: CAssetManager.basePath “/var/www/html/assets” is invalid. Please make sure the directory exists and is writable by the Web […]

Setting up docker on the mac: Cannot connect via localhost

I’m just setting up docker on my Mac. The installation worked and I got some containers running (following the getting-stared guide), but now I want to connect with my browser to localhost, to show a web app. For that I’m following this guide: https://docs.docker.com/engine/userguide/containers/usingdocker/ In the last section it is said, that you simple go […]

How to build a Docker image for an Arm architecture on a Mac?

I’m trying to figure out how to use Docker’s new beta on my Mac to build an image for a different architecture. Specifically I’m trying to build for Raspberry Pi which uses an Arm processor. Any ideas?

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.