Tag: osx

Docker missing files in volumes due to encoding

I am running boot2docker on Mac. I have started a container mounting a volume from my Mac to the container using -v command. Problem is, all files with special encoded characters simply don’t appear in the volume from within the container. The left part of the screenshot is ls from my Mac, and the right […]

OSX boot2docker trouble connecting to docker daemon

Totally new to docker. Trying to learn. I followed the docker guide for mac osx and have had nothing but trouble. I am on OSX 10.9.4. boot2docker & docker v1.5.0. My VirtualBox is version 4.3.26 (just upgraded). I can get to the point of running docker run hello-world. I get the error FATA[0000] Cannot connect […]

Redis Exited While Run With Persistent Data In Boot2Docker

I use boot2docker to run docker containers in OSX. I have pull redis, and want to run it with persistent data. But it always exited when I run the container. Here command I used docker run –name dynomapper-redis -d redis redis-server -v /Users/dolly/redis-data:/data –appendonly yes If I remove -v options redis will run and not […]

New install of Docker Toolbox yields “AppleEvent timed out.” error

I installed the new version of Docker toolbox on a fresh machine. The install stated it was a success, yet when I start up the Docker Quickstart Terminal app, I get an odd error. AppleEvent timed out. Terminal got an error: AppleEvent timed out. (-1712) Googling this error proved to be fruitless. I uninstalled and […]

OSX 10.11.3 Install gitlab server using docker

My English not good, sorry! I install gitlab server using docker. First I install Docker Toolbox,and then I follow the steps below´╝Ü Step 1. Launch a postgresql container docker run –name gitlab-postgresql -d \ –env ‘DB_NAME=gitlabhq_production’ \ –env ‘DB_USER=gitlab’ –env ‘DB_PASS=password’ \ –volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \ sameersbn/postgresql:9.4-12 Step 2. Launch a redis container docker run –name […]

curl can get web content hosted in local docker but browser cannot open the page

I installed docker in my mac and have a laravel container running. after pointing the port using docker -p I am successfully getting the web content using cURL. However I am not able to use safari or any other browser to view the page. the url is looking like this: and I am sure […]

How could I enable docker remote api on mac osx

My containers are working now. But I can not access docker remote API. And the docker setting folder is located /Users/lala/.boot2docker Get nothing back by curl .zshrc export DOCKER_HOST=tcp:// export DOCKER_CERT_PATH=/Users/lala/.boot2docker/certs/boot2docker-vm export DOCKER_TLS_VERIFY=1

ADD Command for Docker Toolbox on Mac

I have Docker Toolbox installed on my Mac, but I’m having issues adding a file to a container during build. I’m using the ADD command in the Dockerfile. I can’t seem to add any local files. I understand that Docker Toolbox uses VirtualBox under the hood, but I am not sure how to get those […]

Empty response from server running inside Docker container

I have a Docker container running on my laptop containing a server. The server is running at localhost:9000. I’ve set up port-forwarding between my laptop and the VM like this: VBoxManage modifyvm “default” –natpf1 “tcp-port9000,tcp,,9000,,9000”; Now, I try to start a container like this: docker run -p 9000:9000 -t -i my-image But when I try […]

docker-machine cant connect to host/daemon and using insecure registry

So im having some weird problems with docker-machine. I am trying to set up a docker-machine on my Mac OS El Capitan and also have the daemon flagged for a few insecure registries. I was able to successfully push/pull on a local Ubuntu install (without docker-machine) by setting the DOCKER_OPTS options to flag my insecure […]

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