Tag: osx

Docker runs out of disk space even though containers are small

I have installed Docker Toolbox for Mac OSX and running several containers inside. First two I created were with Cassandra and were running fine. After that I’ve created 2 Debian containers, connected to bash through docker terminal with the purpose to install Oracle JDK8. At the point when I was about to extract java from […]

Docker flask cant connect

I am trying to do http://containertutorials.com/docker-compose/flask-simple-app.html I have copied the tutorial verbatim, except I changed From flask import Flask to from flask import Flask I can built it just fine. I can start it and get the following when I run docker ps from the command line CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES […]

Can't pull docker image: no route to host

When using boot2docker on OSX, I can’t pull a new image from Docker Hub: $ docker run mysql Unable to find image ‘mysql’ locally Pulling repository mysql 2014/06/24 16:58:18 Get https://index.docker.io/v1/repositories/mysql/images: dial tcp: read udp no route to host I can still access that URL using a browser or curl. What gives?

boot2docker, docker, django on mac os x

I want to run a Django app in docker on Mac OS X. I have installed docker using the get-started tutorial. I refer to the Django doc in docker-library to build image, https://github.com/docker-library/docs/tree/master/django, I add the Dockerfile in a new Django project folder The problem is I build the image and run the container successfully […]

How to install docker man pages on Mac os

I’ve installed docker on mac os as written in documentation. But in some docs (for example in the docker book) I see the recomendations to use man docker-run (man docker-pull, etc). But when I run such command I get the error: bessarabov@bessarabov-osx:~$ man docker No manual entry for docker How can I install docker man-documentation […]

Install docker-machine on OSX WITHOUT Docker Toolbox

Am I correct to assume that installing Docker Toolbox is now the required method for installing docker-machine on OSX? I have a script that I’ve been using for onboarding my team of developers, which installs docker related tools like docker-machine, but it pulls it in through curl. This stopped working with the latest version. All […]

Setting DOCKER_HOST after Docker Toolbox/Mac install

Mac here. I installed Docker via the Toolbox and all Docker commands yield the same error: myuser@mymachine:~/tmp$docker info Get http:///var/run/docker.sock/v1.20/info: dial unix /var/run/docker.sock: no such file or directory. * Are you trying to connect to a TLS-enabled daemon without TLS? myuser@mymachine:~/tmp$sudo docker info Password: Get http:///var/run/docker.sock/v1.20/info: dial unix /var/run/docker.sock: no such file or directory. * […]

docker run ubuntu on mac and nothing happens

i’m on mac running: docker is configured to use the default machine with IP For help getting started, check out the docs at https://docs.docker.com my-mac:mydir$ docker run ubuntu /bin/bash my-mac:mydir$ am i doing something wrong? shouldn’t I get into the ubuntu shell?

How to figure out, what slows down docker?

My problem is the following – I have Docker on OSX with containers containing Redis, NginX, PHP 7 and Unison. Mapped to php-container I have volume with Symfony 3.1.7. Everything works, but Symfony’s “Welcome” page taked ~1.5 second loading time on average. At the same time same setup without docker gives me 0.2 second loading […]

Map ports so you can access docker running apps from OSX host

I have been playing with Docker for a while (on OSX via Vagrant) which worked really nice. In order to access my apps running in the docker containers I had to setup Vagrant to use static IPs (“private_network” setup). While this worked well I think the new approach to use boot2docker is a little lighter […]

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