Tag: osx

How do you get around the size limitation of Docker.qcow2 in the Docker for Mac?

I have a large (100gb+) database that I’m trying to run with the official postgres image. I can’t store the data in a docker volume because the ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 file in Docker for Mac has a size limitation of about 60gb. I’m hesitant to mount a host directory as a volume because file access in mounted […]

How to add bash command completion for Docker on Mac OS X?

I am running docker and I want bash command completion for docker commands and parameters.

Location of docker images downloaded by Docker (1.9.1) on Mac OS X

Where are the docker images located once they are downloaded from docker hub in Mac OSX. For example if I run a command like: docker run hello-world the image is downloaded and the container is run but where is that image located on my system? Note: Where are Docker images stored on the host machine? […]

Install Docker Toolbox on a Mac via command line

I am trying to automate setting up a developer environment on Mac. Part of that setup is installing the Docker Toolbox. I cannot find any documentation on how do to this via command line. How can I automate this installation (must be triggered via command line)? Update: As pointed out in a commend by Dennis […]

Connection refused on nginx docker container

I’ve installed Docker Toolbox in OSX and I’m following Docker’s simple tutorial on deploying Nginx. I’ve executed docker run and confirmed that my container has been created: docker run –name mynginx1 -P -d nginx docker ps 40001fc50719 nginx “nginx -g ‘daemon off” 23 minutes ago Up 23 minutes 0.0.0.0:32770->80/tcp, 0.0.0.0:32769->443/tcp mynginx1 however when I curl […]

What does the DOCKER_HOST variable do?

I’m new to Docker, using Boot2Docker on OSX. After booting it, this message is given: To connect the Docker client to the Docker daemon, please set export DOCKER_HOST=tcp://192.168.59.103:2375 Yet even without it, basic Docker commands (eg, docker run hello-world) work fine. The install instructions aren’t very informative: Note: If you see a message in the […]

Why can't you install docker natively in osx? [closed]

I would love to be able to use docker outside of Vagrant in OSX. Right now this is not possible. What are the specific reasons causing it not to be limited for linux installations only?

Docker/Boot2Docker: Set HTTP/HTTPS proxies for docker on OS X

In short: How can I set the HTTP/HTTPS proxies for Docker on Mac OS X? In detail: I run Docker (1.12) on Mac OS X behind a proxy. I followed the installation instructions and installed boot2docker. This is working fine if I pull from my network-internal Docker registry. However, I get the following error when pulling from […]

What's the right way to setup a development environment on OS X with Docker?

Intro I can’t figure out a good way to setup a development environment on OS X using Docker and Boot2Docker. The problem I’m hitting is how to manage the source code so that: I can modify the code on OS X using the tools (text editor, IDE, git, etc) I already have installed. Those modifications […]

Couldn't connect to Docker daemon on Mac OS X

I would like to run multi-container application using docker-compose on Mac OS X El Capitan (v10.11.2). However, the command $ docker-compose up command complains that it can’t connect to the Docker daemon. ERROR: Couldn’t connect to Docker daemon – you might need to run docker-machine start default. Only after executing $ eval “$(docker-machine env default)” […]

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