Tag: boot2docker

docker-swarm error: client and server don't have same version(client: 1.18, server: 1.17)

I have been experimenting to run docker swarm with machine. I am using virtualbox as provider. I am able to spawn three VMs and run them as swarm-master, swarm-node-00 and swarm-node-01. But I am not able to use my swarm cluster. Here are some additional info: [peeyush@localhost swarm]$ docker-machine_linux-amd64 ls NAME ACTIVE DRIVER STATE URL […]

Is Docker slow when using device mapper on Fedora?

I am experimenting docker and I plan to dockerize my project’s CI infratsructure. I am building dockerfiles on 3 different machines: Fedora, Ubuntu, and Boot2Docker (a virtiual machine under windows). Docker builds on fedora are a lot slower than on the other 2 machines, especially the opration that creates a new image after a Step […]

What is the best practices of using Docker for front end development on OS X and passthrough ENV from host to container

I am looking for best practices about front-end developing on OSX with docker and I have found number of projects on github. Here they are: docker-osx-dev boot2docker-xhyve coreos-xhyve docker-unison hodor The fact is I need two-way syncing files from host system to virtual container and vice versa via mounted (synced) folder and IO performance should […]

Why does boot2docker ip fail?

I am totally confused with this. I have installed boot2docker on Windows. I started it using boot2docker start icon. It has launched successfully. I tried out all the docker commands like pull attach run etc. Everything works fine. But when i try boot2docker ip It says -sh : boot2docker not found. What’s the problem? Am […]

Docker link container – environment variables not being displayed

Hello I am trying to link my containers following this guide: https://docs.docker.com/userguide/dockerlinks/ I run docker run -d –name mongodb devops-mongodb Then I run docker run -d -P –name rest-api –link mongodb devops-rest-api To link my mongodb container to the rest-api container. Then the documentation told me to do this to view the environment variables: docker […]

Error when doing a docker ps

I have Docker installed and it runs fine, but when I have created a container and run it, I want to know the ID of the container, so I do a docker ps. But then I always get this message: Get http:///var/run/docker.sock/v1.15/containers/json: dial unix /var/run/docker.sock: no such file or directory What could be wrong here?

How to export the docker variables?

I’m new to docker.My Operating system is Mac OS. I follow the step from docker website, Download the boot2docker and install it. run the boot2docker $ boot2docker init $ boot2docker start $ docker run hello-world the result is that : bash-3.2$ docker run hello-world An error occurred trying to connect: Post x509: certificate is […]

Creating a bootstrap Dockerfile that automatically exposes files to the host operating system

I’m trying to create a bootstrap Dockerfile for web development. I would like any containers to allow for access of my code from within and also from the host operating system (Mac OS X). I cannot tell from the Docker reference what is the best way of automating this process.

Ports not accessible in Docker on Mac

NOTE: I’m a networking noob, so please explain answers accordingly. I am running boot2docker+VirtualBox on Mac OS. Launch my Docker container like this: docker run -it -p 80:80 -p 28017:28017 mine/envbox bash In the container I start nginx and mongo. Then inside the container I try: curl localhost:80 // returns content curl localhost:28017 // returns […]

boot2docker is autoupgrading

i installed https://github.com/docker/toolbox/releases/download/v1.9.1j/DockerToolbox-1.9.1j.exe as i need docker 1.9. On starting the dockertools it detected that my boot2iso is old and updated the same to latest.For sure i had unchecked the auto upgrade option during installation “upgrade boot2docker VM” I do not want to upgrade.Please help Running pre-create checks… (default) Default Boot2Docker ISO is out-of-date, downloading […]

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