Setting Team City Build Agent Port Number in Marathon

Trying to deploy a teamcity build agent on the Mesosphere Marathon platform and having problems with the port mappings. By default the teamcity server will try to talk to the teamcity agent on port 9090 Therefor I set the container port like so : “containerPort”: 9090 However when I deploy the teamcity agent container, Marathon […]

Docker (stopped container) but still I see processes and lot of memory taken?

I have stopped the docker container (the docker says exited) but I see a lot processes again and lot of memory taken (KiB Mem : 13183321+total, 86293136 free)?! %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni, 99.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 13183321+total, 86298728 free, 920048 used, 44614440 buff/cache […]

netcat for MySQL connection forwarding

This question is in relation to Dockerized web app connecting to MySQL DB on host I am trying to open up a connection from a docker container to the host to support MySQL connections. The way I understand it I should be able to execute the following in my container nc.traditional -l -p 3306 -c […]

How to get the docker containers information with Ruby and monitor it

I want to get the containers’ stats. eg: CPU, Memory I only know the command docker stats <CONTAINER NAME>, but when I type the command, it will be blocking in the foreground(like you typed top command) But I want get those information with Ruby. Then decide the action by those information, such as restart container […]

Understanding how to import a map.osm file into a postgres database.

I was just reading a tutorial HERE. I am assigned with the following task: The task is to create a Docker image that has PostgreSQL installed. The PostgreSQL database should be PostGIS-enabled. The Docker image should also allow quick and easy import of an .osm map data file into the database. The database should contain […]

Amazon EC2 boot time

Our web app performs a random number of tasks for a user initiated action. We have built a small system where a master server calculates the number of worker servers that are needed to complete the task, and the same number of EC2 instances are “Turned On” which pick up the tasks and perform the […]

Nginx & Node inside the same Docker container

I know that this is against the accepted convention but I need to run Nginx alongside a node.js server inside the same Docker container. I have no issues spinning up the container and getting Nginx and Node working alongside. Nginx works on Port 443 which is exposed by the container. The Node server listens on […]

nfs volume mount to mysql docker container inside a ubuntu virtualbox fail

Answered in my comment. Not able to answer my own question. Hence the answer in comment. ———————–*———————— Please help me with the nfs volume mount issue I am facing. I’ve a nfs file share set-up from freenas server, which I am mounting on a host linux (ubuntu 14.04 server) mount -t nfs -o proto=tcp […]

Docker is stuck on “download complete” for pull

I was following this tutorial on linux (archlinux) when I was trying to do docker pull dylanlindgren/docker-laravel-phpfpm and I’m always stuck on the “Download complete” phase”. Full output: ➜ ~ docker pull dylanlindgren/docker-laravel-phpfpm Using default tag: latest latest: Pulling from dylanlindgren/docker-laravel-phpfpm 61b3964dfa70: Pull complete f5224fc54ad2: Pull complete 915f13277357: Pull complete 0c908f87abb0: Pull complete a5051de47250: Pull […]

Remove docker images and containers that are taking disk space

I’ve been using Docker for a while… I usually the command “docker run” to run containers. Today, I had the problem of saving data to disk on a database: No space left on device According to various documentation online, the solution is to use the following command: docker stop $(docker ps -a -q) docker rm […]

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