unable to connect through SSH key to bluemix container

I am currently trying to use the bluemix container service (in beta) When I want to create a new container, I follow the steps, and just choose the name and the ports to open. I paste a SSH, and at the end I get the error : “Unable to create container. Error message returned is: […]

How to mount the volume of host to docker container with executable file permission using docker api

When I tried to create django docker container using remote api, I can bind the host volume to docker container volume. But when I use “Cmd” along with docker create, it showing an error(not for shell commands), <Response [500]> Cannot start container d07b316a1d790b67442a9a4ee49de6e6f2191e14d15ebd528d752b3fad63d9b1: exec: “pip install -r requirements.txt&& python manage.py runserver”: executable file not […]

Issue running Gulp on Docker

I have the following Dockerfile FROM debian:jessie MAINTAINER Ewan Valentine <ewan@theladbible.com> WORKDIR /tmp RUN apt-get update -y && \ apt-get install -y \ curl RUN curl –silent –location https://deb.nodesource.com/setup_0.12 | bash – RUN apt-get install –yes nodejs VOLUME [“/var/www/admin/src”] RUN mkdir -p /var/www/admin/src WORKDIR /var/www/admin/src RUN npm install -g gulp ENTRYPOINT [“gulp”] However, when I […]

Socket error from within Rails app in Docker container connecting to remote MySQL DB

I have a rails app (running in production mode) in a docker container linked to another container running a MySQL server instance. The app itself is running under nginx/passenger as the “app” user. I’ve configured the production database under rails as follows: production: adapter: mysql database: <%= ENV[‘MYSQL_PRODUCTION_DATABASE’] %> pool: 5 username: <%= ENV[‘MYSQL_USER’] %> […]

Why does setfacl not work in docker container?

I have trouble with ACL in my docker container. As you can see below, I set read/write permissions for user “ts” on “/opt/transfer_station/webapp/logs”. This works for the folder “/opt/transfer_station/webapp/logs” but not for the file /opt/transfer_station/webapp/logs/debug.log in it. Why does it not work? [root@lx-ts logs]# setfacl -Rdm u:ts:rw,g:ts:rw /opt/transfer_station/webapp/logs [root@lx-ts logs]# echo $? 0 [root@lx-ts logs]# […]

Sending sigstop and sigcont to docker containers

I am attempting to send SIGSTOP, and then later, SIGKILL to a container. This line leads me to believe that it will behave as I expect: https://github.com/docker/docker/issues/5948#issuecomment-43684471 However, it is going ahead and actually removing the containers. The commands are: docker kill -s STOP container docker kill -s CONT container (Equivalent through the dockerode API […]

Pulling and building io.js from source using a specific version

I’m building a Dockerfile for an io.js project I’ve been working on, and I’d love to be able to do something similar to the following, but with io.js. ## Install Nodejs RUN wget http://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz RUN tar -xvzf node-v0.12.7.tar.gz RUN cd /node-v0.12.7/ && ./configure && make && make install clean It seems to me that there […]

Docker-Distribution: cannot pull from different machine (FATA[0000] Error: image sample-web-app:latest not found)

I’ve installed a private docker repository with the docker distribution registry (not the old docker-registry). I can query the api from another machine and see the my pushed image, but I can’t pull it. On machine A I have installed a docker distribution container: sudo docker run –name=registry –restart=always -d -p 5000:5000 registry:2.0 I’ve created […]

Run Java command line from node.js dokku container

I have a dokku container running a node.js app, my backend needs to use java8 to run some command lines. I have the following error message from my server: [Error: Command failed: /bin/sh -c java /bin/sh: 1: java: not found ] How can I make java8 accessible inside my dokku container?

CoreOS Fleet could not get container

I have 3 containers running on 3 machines. One is called graphite, one is called back and one is called front. The front container needs both the others to run, so i link them separately like this: [Unit] Description=front hystrix [Service] TimeoutStartSec=0 ExecStartPre=-/usr/bin/docker kill front ExecStartPre=-/usr/bin/docker rm -v front ExecStartPre=/usr/bin/docker pull blurio/hystrixfront ExecStart=/usr/bin/docker run –name […]

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