Tag: osx

Docker – can not start mysql permission error

I have problem with docker and mysql. I have build an image based on phusion/baseimage. I want to create image where /var/lib/mysql directory is shared with my host (OS X), because I dont want to store my data on container. Everything works fine when directory /var/lib/mysql is not shared. When I share this directory, mysql […]

TensorFlow docker dev workflow on mac

There is an official guide on how to install it that doesn’t say much about actually developing in it. From what I understand, there is a quite big challenge in developing with Docker in general. Not to mention there could be deeper technical complications about going with it for TensorFlow, maybe mostly thanks to GPUs. […]

Docker exec on an intermediate build image doesn't work

I am not sure what is going on here. It has worked in the past so I think I might just not understand what it happening. I am building an image from a Dockerfile and would like to troubleshoot why its failing. Example image FROM ubuntu:14.04 RUN useradd app -G sudo RUN apt-get update -f […]

How can I access from outside my docker container in mac?

I have a docker container running in a default vm in mac, I’ve already mapped the ports of my particular application to the ports of the vm. Once I’ve done that I can access my application by doing: curl $(docker-machine ip default):9003 After that I’ve mapped my vm port to my localhost by doing port […]

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 […]

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