Tag: ubuntu

Updating docker registry in ubuntu 14.0

I’m trying to upgrade my docker registry to version 2 on a ubuntu box. This is what I did so far : 1) Bought up a v2 registry container up on the same host (ubuntu) where my v1 registry was running. 2) Executed this command: docker run -it -v /var/run/docker.sock:/var/run/docker.sock -e V1_REGISTRY=v1.registry.fqdn -e V2_REGISTRY=v2.registry.fqdn docker/migrator […]

Permission denied error when using docker import

With docker, when I want to import a image from local file system I get an error. This is the command I am using: sudo cat Downloads/debian-6.0-x86_64-minimal.tar.gz |docker import – debi The result: Post http:///var/run/docker.sock/v1.20/images/create?fromSrc=-&repo=debi: dial unix /var/run/docker.sock: permission denied. * Are you trying to connect to a TLS-enabled daemon without TLS? * Is your […]

Running apache in an ubuntu Docker container on a RedHat machine

I am new to Docker and have been trying to configure a standard default install of Apache2 running on the ubuntu:14.04 image. This seems to work just fine when the Docker host machine is running Ubuntu, but when I try to run this same config on a machine running RHEL 6, I get apache config […]

How to connect to Informix DB on host machine from a container through jdbc?

Informix db 12.10 is installed and works fine to connect via a java application using informix jdbc, both are on host machine. When I use a docker container to run my java application and connect to Informix on host machine, it does not connect. The docker0 on host machine shows 172.17.0.1 and ip of container […]

why run exec command?

What is the reason for this error? I dont understand . Command runs two pods but not running ubuntu pod? vagrant@vagrant:~$ kubectl get po NAME READY STATUS RESTARTS AGE cassandra-2p4m0 0/1 Running 1 1d k8s-master-127.0.0.1 3/3 Running 6 1d nginx-app-6q4cn 1/1 Running 0 1h nginx-i3bja 1/1 Running 4 1d ubuntu-app-nuuyh 0/1 Running 11 1h vagrant@vagrant:~$ […]

Can't import own python module in Postgresql plpython function

I created my own python module and packaged it with distutils. Now I installed it on a new system (python setup.py install) and I’m trying to call it from a plpython3u function, but I get an error saying the module does not exist. It was working on a previous Ubuntu instalation, and I’m not sure […]

Setting Mesos DNS on ubuntu

I am trying to set up Mesos DNS after a few week of playing around with containers. I got some trouble with the DNS, even if it is said to be ‘light and easy’ :-s Following the docs : https://mesosphere.github.io/mesos-dns/docs/ http://programmableinfrastructure.com/guides/service-discovery/mesos-dns-haproxy-marathon/ I got into several issue, the first of one being that port 53 is […]

Docker is not correctly binding ports on windows

I am beginning to move my project to a docker container in order to be able to develop more stuff without depending too much on the OS I’m using. This is the way I run my container: docker run -d -v “$(pwd)/app:/app” -v “/c/Users/Geoffrey/Projects/go:/go” –name “server” –link mysql:mysql -p 127.0.0.1:3000:3000 my/server:latest Quickly, my program executes […]

Expose environment variables to Apache and PHP

Background I’m trying to use Wercker to run my test for a PHP application. Wercker uses Docker containers to setup a test environment to execute tests in. It uses Environment Variables to expose the connection params for any connected services like MySQL and Elasticsearch. Example MYSQL_PORT_3306_TCP_ADDR = 127.0.1.1 My core Docker containers is running Ubuntu […]

error response from daemon: no such container: dionaea

I am working on T-Pot 16.03 which is a bundle of honeypots working in dockerised format for research purposes. This is running on Ubunutu 14.04 .4 LTS. http://imgur.com/Esc7w9A As you can see, container dionaea has stopped working for no reason at all. I did not modify anything from the machine in the last three days […]

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