Tag: docker machine

Docker eating up disk space /var/lib/docker/devicemapper/devicemapper

Sorry I got the answer. Thank you so much for your answers

How to access webserver running on localhost from a docker container on a network?

I have the following system configuration: Docker container running on user defined network docker-machine (with VirtualBox on OS:X forwarding port 9000 to 9000) Local webserver running on http://localhost:9000 I do not know how to make a basic http request against this webserver, from within my docker container. To test this I am using: docker exec […]

Docker – Couldn't connect to Docker daemon

I started getting a ERROR: Couldn’t connect to Docker daemon – you might need to run `docker-machine start default`. but i am not using docker-machine (Although i have version 0.5.2 installed) I am running docker directly in my Ubuntu 14.04 LTS with Docker 1.11.0 e Docker-compose 1.7.0. Why am i getting this error? Should i […]

How to connect to docker image on mac os

I am installing docker on mac os. I know that there is a docker-machine installed and running between my mac os and the docker images. When I start one docker image, I can’t ping the image from my mac os, instead I have to connect to these images from the docker-machine. I wonder whether there […]

Kubernetes locally via Docker: why do we need port forwarding?

Trying out Kubernetes on my mac, following this guide and using docker-toolbox, I don’t understand why I need this step: Note: On OS/X you will need to set up port forwarding via ssh: boot2docker ssh -L8080:localhost:8080 The api server is running with –net=host so I should be able to curl <ip-of-my-docker-machine>:8080 but I got “connection […]

Give access to Docker Swarm cluster

Okay, here is my situation: I created a cluster of docker swarm using docker machine. I can deploy any container, etc. So basically everything is working fine. My question right now is how to give access to the cluster to someone else. I want other people to deploy container on that cluster using docker-compose.

docker-machine osx port forwarding

How does port forwarding work with docker-machine? I recently installed the docker toolkit and spun up a container. However I cannot reach it on my local mac as. Is this Port forwarding in docker-machine? using VBoxManage the best way to access the running docker container using my OSX browser?

Docker issue commands to an app inside container?

I am using nodeBB to start a server you can run ./nodebb start to stop you can do ./nodebb stop. Now that I have dockerized it http://nodebb-francais.readthedocs.org/projects/nodebb/en/latest/installing/docker/nodebb-redis.html I am not sure how I can interact with it. I have followed the steps “Using docker-machine mac os x” docker run –name my-forum-redis -d -p 6379:6379 nodebb/docker:ubuntu-redis […]

How can I debug my docker container with docker-machine and PHPStorm

I’m trying to use Xdebug with docker and docker-machine. Here my xdebug.ini config file: zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so xdebug.remote_enable=1 xdebug.remote_autostart=0 xdebug.remote_connect_back=1 xdebug.remote_port=9000 xdebug.remote_log=/tmp/php5-xdebug.log Here my docker-compose.yml file: data: image: busybox volumes: – ./:/srv web: build: docker/nginx volumes_from: [data] links: – fpm ports: – “80:80” fpm: build: docker/php-fpm volumes_from: [data] ports: – “9000:9000” I have configured PHPStorm […]

docker-machine, create and run a nginx container is not exposing port 80

From this article it was really easy to “docker-machine create” a VM host on google compute engine. My problem is that when using the ip(docker-machine NameOfVM) to access a running nginx container it does not responde. I can see that nginx is running, when I SSH into the VM and run “curl localhost”. I can […]

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