docker java7 install fail

I’m trying to install java7 via ppa (RUN add-apt-repository ppa:webupd8team/java -y) in my docker image but it fails with this error: returned a non-zero code: 127 The following are suggested ways to install correctly but it’s not working. I’ve tried both ppas as well. RUN apt-get install python-software-properties -y RUN add-apt-repository ppa:webupd8team/java -y #RUN add-apt-repository […]

How do I deploy updated Docker images to Amazon ECS tasks?

What is the right approach to make my Amazon ECS tasks update their Docker images, once said images have been updated in the corresponding registry?

docker-compose : Unsupported config option for services service: 'web'

I am going through getting started page for docker-compose: In Step 3, I made a docker-compose.yml file as described: version: ‘2’ services: web: build: . ports: – “5000:5000” volumes: – .:/code depends_on: – redis redis: image: redis But when I run: $ docker-compose up I get following error: Unsupported config option for services service: […]

Can't expose a fuse based volume to a Docker container

I’m trying to provide my docker container a volume of encrypted file system for internal use. The idea is that the container will write to the volume as usual, but in fact the host will be encrypting the data before writing it to the filesystem. I’m trying to use EncFS – it works well on […]

Docker unreachable after computer sleep

I have just installed docker using docker-toolbox 1.8.2 on Windows 10. Due to due to this issue I had to recreate the docker image using these commands docker-machine rm default docker-machine –native-ssh create -d virtualbox default After that it has been working fine, except for one problem: When the PC has gone to sleep and […]

Push docker image to amazon ecs repository

Im new to AWS. I want to set up a private docker repository on an AWS ECS container instance. I created a repository named name. The example push commands shown by AWS are working. aws ecr get-login –region us-west-2 docker build -t name . docker tag name:latest docker push But with this commands […]

dial unix /var/run/docker.sock: no such file or directory after upgrading to lxc-docker

when I installed docker initially, it shows to be of version 1.0.1 Being, that the current version is 1.4.1, I found and executed the following instructions: $ sudo apt-get update $ sudo apt-get install $ sudo ln -sf /usr/bin/ /usr/local/bin/docker sudo apt-key adv –keyserver hkp:// –recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 $ sudo sh -c “echo deb […]

Docker: MacOSX Expose Container ports to host machine

In my job I working with docker and the option –net=host working like a charm forwarding the docker container ports to the machine. This allows me to adding grunt tasks that use certain ports by example: A taks for serving my coverage report in a port 9001 A local deployed version of my app served […]

Docker Ubuntu Behind Proxy

Looking at docs there is no instruction on how to run it behind a proxy. Reading on forums, the instruction is to update /etc/default/docker to export the proxy setup. export http_proxy=”” export https_proxy=”” export HTTP_PROXY=”” export HTTPS_PROXY=”” Then we restart/start docker sudo service docker start Inside a container, if I run ‘apt-get’, npm install, […]

Docker bash prompt not display color

I use command: docker run –rm -it govim bash -l to run docker images but it cannot display bash prompt color. If I source ~/.bash_profile or run bash -l again, bash prompt display color like normal. Bash Prompt Image My bash_profile and bash_prompt

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