Why PHP-FPM prefixes a warning when writing to stdout?

I try to run a Yii based PHP application in a Docker container using the official php-fpm image. It’s common practice for docker containers to write all log messages to stdout / stderr. So I do the same from my container with a code that basically looks like this: $fp = @fopen(‘php://stdout’,’w’); fwrite($fp, $message); fclose($fp); […]

Ubuntu and updating Docker

I am trying to run the latest stable version of docker and docker-compose. I am following the instructions on https://docs.docker.com/engine/installation/linux/ubuntulinux/ Apparently the current version of docker-compose is 1.7. Yet, after running through the documentation, installing docker-engine, I then get: $ docker-compose –version docker-compose version: 1.4.0 And $ docker –version Docker version 1.11.1, build 5604cbe When […]

Installed Go binary not found in path on Alpine Linux Docker

I’ve got a Go binary I’m trying to run on the Alpine Docker image. This works fine for the Docker Go binary. docker run -it alpine:3.3 sh apk add –no-cache curl DOCKER_BUCKET=get.docker.com DOCKER_VERSION=1.9.1 curl -fSL “https://${DOCKER_BUCKET}/builds/Linux/x86_64/docker-$DOCKER_VERSION” -o /usr/local/bin/docker chmod +x /usr/local/bin/docker docker help Usage: docker [OPTIONS] COMMAND [arg…] … However, for the Go binary I […]

Docker 1.10 container's IP in LAN

Since Docker 1.10 (and libnetwork update) we can manually give an IP to a container inside a user-defined network, and that’s cool! I want to give a container an IP address in my LAN (like we can do with Virtual Machines in “bridge” mode). My LAN is 192.168.1.0/24, all my computers have IP addresses inside […]

How can I connect my autoscaling group to my ecs cluster?

In all tutorials for ECS you need to create a cluster and after that an autoscaling group, that will spawn instances. Somehow in all these tutorials the instances magically show up in the cluster, but noone gives a hint what’s connecting the autoscaling group and the cluster. my autoscaling group spawns instances as expected, but […]

Docker Volume not mounting any files

I’m trying to mount my source files to a directory in docker located at /var/dynamo. I’d like to be able to run Docker locally and use my local files as I am working. with the run command: docker run -v $(pwd):/var/dynamo -d -t -p 8001:8001 –name dynamo davesrepo/dynamo with my Dockerfile FROM python:3.5.1 WORKDIR /var/dynamo […]

Syn flood and net.ipv4.tcp_syncookies

I am trying to configure a Docker container, running tengine on Ubuntu 14, to use syncookies. However I am facing some issues. The host has net.ipv4.tcp_syncookies=1 enabled and syncookies work directly on the host. But the container on the same host does not use syncookies. Does anyone know a way of getting the container to […]

Strategies for deciding when to use 'docker run' vs 'docker start' and using the latest version of a given image

I’m dockerizing some of our services. For our dev environment, I’d like to make things as easy as possible for our developers and so I’m writing some scripts to manage the dockerized components. I want developers to be able to start and stop these services just as if they were non-dockerized. I don’t want them […]

What's the difference between Docker and Rocket from CoreOS?

Can anyone understand and explain the fundamental differences of Docker and Rocket? I don’t seem to get it. Maybe it’s just too new of a direction. Hope someone can explain the fundamental pros and cons of Docker vs Rocket. Thanks https://coreos.com/blog/rocket/ https://github.com/coreos/rocket

How best to use Docker in continuous delivery?

What is the best way to use Docker in a Continuous Delivery pipeline? Should the build artefact be a Docker Image rather than a Jar/War? If so, how would that work – I’m struggling to work out how to seamlessly use Docker in development (on laptop) and then have the CI server use the same […]

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