Using environment variables post docker container linking in java

I am trying to simulate docker container linking using a simple use case which is as follows 1) A docker container with a simple pub-sub java application, there is a publisher and subscriber both within the same container. I have used dockerfiles for building this 2) A docker container running rabbitmq, this was pulled from […]

Docker: Layering on top of shared volume

I want to use a shared volume in a container but the updates to data in the shared volume cannot go to the underlying directory on the host and these updates should be discarded when the container goes away. For example: Create shared directory /var/data with one file /var/data/random mkdir /var/data; dd if=/dev/urandom bs=1M count=100 […]

How can I add parameters to a dockerio.running state in Salt?

I’m trying to run a 3rd party docker image from salt. From the command line, the required statement is something like: docker run -d progrium/consul -server -bootstrap From Salt however I don’t know how to pass the parameters (-server and -bootstrap) Is there a way to do that? regards, Frank

Google Managed VMs data volume

How do I keep data on my Managed VMs using docker ? I’m following this guide, so I guess that the volumes property from containers engine is not available. Like this:

systemtap:while resolving probe point: identifier 'process' at source: probe process().function no match

I had installed nginx and lua in my docker image, but I didn’t install nginx on my physical CentOS system. I “docker run my image” and start nginx on my physical CentOS system. So the nginx master and worker process are working. I run an example of nginx-systemtap-toolkit. I run: sudo ./ngx-active-reqs -p 24945 24945 […]

Is migration from docker to vm possible?

How to migrate from docker container to virtual machine ? Can somebody give links if any ?

Multiple docker servers using same containers

I have multiple VMs that are all running Docker, and I need them to be all able to start/stop the same container. For example, if I had a text document in one container on one VM, I would need to be able to start and edit that text document on any of the Docker servers […]

What does Go Version means?

docker version outputs docker emulating version 0.1.3 client version: 0.5 server version: 0.5 go version: go 1.1 What does go version means?

How to access Docker web app from host OS?

I’ve followed the tutorial on the website here: How would I access this app from a browser on my host OS?

Should I use docker (nginx) for serving a SPA?

I only have 1 javascript file(bundle.js packed by webpack) and 1 html. It’s kinda like SPA. I’m thinking how I host this SPA? I already have one clean VM on Amazon EC2. I was planning setup a docker (Nginx) on this EC2. However, as I said, this VM is clean. Only this SPA will use […]

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