Dropwizard and Docker: yaml configuration didn't change default ports

I’m trying to run dropwizard service using Docker. In dropwizard, I already used yam configuration to change the default port to 8085. But when I run my dropwizard service using Docker, the service still running on default port 8080. I tried the command: docker run -p -d 8085:8085 It bind port 8085 on the host […]

Error when start a container

I tried to run a simple container and got the error message docker run docker/whalesay boo Error response from daemon: Cannot start container 843b258e583b1e9966dc9b771f613e60b887ecc2059376473e06ede68e1bd347: [8] System error: exec: “boo”: executable file not found in $PATH What am I doing wrong?

Gradle build fails while executing './gradlew build installDist –info' inside docker container

I have created docker container on SLES 12. I have installed git and java-1.8.0-openjdk-devel. Clone the master branch of https://github.com/apache/incubator-geode.git Changed directory to incubator-geode And then executed ./gradlew build installDist –info This gives an error saying: FAILURE: Build failed with an exception. What went wrong: Execution failed for task ‘:gemfire-core:test’. > There were failing tests. […]

Inconsistent runtime kernel parameters in DOCKER container and on host

my host is on Ubuntu 14.04.2 LTS and I’m using the latest centos base image in order to create a DOCKER image of IBM InfoSphere BigInsights in order to push it to the Bluemix Container Cloud. I’ve solved nearly everything but I’m stuck with setting runtime kernel parameters using sysctl because they have the wrong […]

Unrecognized argument format hosting.ini

Trying to deploy default asp 5 app on to docker container running on ubuntu server. All goes smooth except one thing. Application cant start giving System.FormatException: Unrecognized argument format: ‘hosting.ini’. Any ideas? What is this about?

Docker Remote API – Pull/Create image not working

Okay so I have enabled managing the docker daemon over HTTP by starting the daemon as follows: /usr/bin/docker -d -H fd:// -H= I can create containers and remove them via the Remote API (i.e other calls are working fine) but if I try and pull an image it errors as follows: curl -v -X POST […]

docker AWS fail to launch – custom kernel

I cannot launch docker on my AWS instance: root@system:~# docker -H tcp:// -H unix:///var/run/docker.sock -d root@system:~# INFO[0000] +job serveapi(tcp://, unix:///var/run/docker.sock) INFO[0000] +job init_networkdriver() INFO[0000] Listening for HTTP on tcp ( INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) Unable to allow incoming packets: iptables failed: iptables –wait -I FORWARD -o docker0 -m conntrack –ctstate RELATED,ESTABLISHED -j […]

Reconstruct dockerfile from image with java docker client

I’m using docker in java code through java docker client (https://github.com/docker-java/docker-java) and I need to analyze what’s coming from docker hub by user request starting docker pull operation (it’s going to be a service running user-defined code related to computational biology in docker container on cluster remotely). I’ve found this approach based on ruby: https://github.com/CenturyLinkLabs/dockerfile-from-image/blob/master/dockerfile-from-image.rb […]

Docker network settings and iptables NAT

I have a server running inside a docker container, listening on UDP port, let’s say 1234. This port is exposed in Dockerfile. Also, I have an external server helping with NAT traversal, basically, just sending addresses of the registered server and a client to each other, and allowing to connect to a server by the […]

How can I write Dockerfile for Yesod? “RUN yesod init -n myApp -d postgresql” didn't work as expected

I tried to make a simple application with Yesod and PostgreSQL using Docker Compose but RUN yesod init -n myApp -d postgresql didn’t seem to work as expected. I defined Dockerfile and docker-compose.yml as below: Dockerfile: FROM shuny/ghc-7.8.4:latest MAINTAINER shuny # Create default config RUN cabal update # Add stackage remote repo RUN sed -i […]

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