Tag: boot2docker

Docker: communication between web container and php container

I’m trying to dockerizing a project runs with php + Apache http server. I learned that I need to have a container for apache http server and another container for php script. I searched a lot but still don’t understanding how that works. What I know now is I should resort to docker networking, as […]

Extra package installation in boot2docker

I am running a virtual machine using boot2docker. I have to install extra packages (e.g Python library). I read I should use the command tce-load command for the installation, but when I enter this command I get already the error: tce-load: command not found. Any idea about how this can be fixed? Thank you very […]

is there a way to do bind particular port on host to container port using docker file

is there a way to do bind particular port on host to container port using docker file I have following item in docker file Step 1 : EXPOSE 8090:8080 but when i run docker run, container binds to port 8080 instead of 8090 as described in docker file. any idea how i can achieve this […]

Linking container with docker-compose

I try to run an instance with 2 containers, 1 container with mysql and other with node. In docker-compose.yml file: api: build: ./server ports: – 8001:8001 links: – mysql:mysql mysql: image: mysql environment: MYSQL_DATABASE: ghostDB MYSQL_ROOT_PASSWORD: root volumes: – /data/mysql:/var/lib/mysql Dockerfile of server/: FROM node:0.12 ENV PORT 8001 ENV MYSQL_DATABASE ghostDB ENV MYSQL_USER root ENV […]

How to run Eclipse with Docker on Windows using Boot2Docker?

i installed Boot2Docker v1.7.1 for Windows and started it like described in the manual. After that i run the docker image batmat/docker-eclipse. Unfortunately i got the error: Eclipse: Cannot open display: org.eclipse.m2e.logback.configuration: The org.eclipse.m2elogback.configuration bundle was activated before the state location was initialized. Eclipse: Cannot open display: Eclipse: An error has occured. See the log […]

Docker container change behaviour on different hosts

I build a docker container using differents tools (sentinelsat et sen2cor) : #Modified Ubuntu docker image, adding some dependencies #Starting image FROM ubuntu #Install of Anaconda2-4.2.0 (from docker anaconda : https://github.com/ContinuumIO/docker-images/tree/master/anaconda) RUN apt-get update –fix-missing && apt-get install -y wget bzip2 ca-certificates \ libglib2.0-0 libxext6 libsm6 libxrender1 \ git mercurial subversion RUN echo ‘export PATH=/opt/conda/bin:$PATH’ […]

How to configure freeSWITCH for a docker container inside boot2docker?

I’m trying to setup a Docker container running freeSWITCH so I can deploy it on a Debian server. For developing, I use a Mac running the freeSWITCH container within boot2docker. I need the container to work in both these environments. I manage to connect to the FS server with a softphone and place a call […]

Docker data volumes and scaling in a distributed system

Docker data volumes is living within the host or boot2docker on the local VM(boot2docker). Having big data from mongoDB running in a data container and mongoDB in another seems to be the way. Will this scale on Google Cloud Engine or Azure Virtuel Machines or other. I mean if all this is running within ONE […]

Boot2docker VM graphics

Boot2docker is a lightweight Linux distribution running in VirtualBox VM. All basic functionality works fine, I am able to use docker containers in MacOS X. However my application requires OpenGL rendering and I cannot get it working. How do I control which graphics acceleration is used inside that VirtualBox VM? I want to completely remove […]

Cannot get boot2docker port forwarding to work on docker mac os X

Here is what I have tried: My goal: running the prosody XMPP server inside a container, accessed by my (as-yet uncontainerized) local development environment. I installed the prosody XMPP server – this is what I am trying to use as a container for local development. It comes dockerized here: https://github.com/lloydwatkin/prosody-docker I ran, as per documentation: […]

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