Tag: ubuntu

Accessing a URL in Windows machine from Docker Container

I am a newbie to Docker and this is what I am trying out. I have a Windows machine on which I have installed Docker using Virtual Box as per this link. I have built a base Ubuntu Image. Now in the Windows Machine I have a Rest Service running that has to be accessed […]

“gnustep-config –objc-flags” no output

I try to do “gnustep-config –objc-flags” inside Docker/ubuntu and it gives me no output. Dockerfile: FROM ubuntu RUN apt-get update && apt-get install -y fp-ide nodejs php5 ruby build-essential gobjc gnustep gnustep-devel RUN ln -s /usr/bin/nodejs /usr/bin/node RUN useradd john

Where to put folders for code in docker containers

I have currently 6 websites running in VPS and i want to convert them to docker. One thing which is confusing me is that how should i arrange the persistent storage folders on host. E,g These are the types of folders i want to have access from host Code folders which i can put in […]

Compile a java file using docker with own path

Hy. I’m trying to compile a .java file using docker. I read the files on docker’s website, also I read these links: docker’s website about volumes and another question I had put up for gcc compiler I understood the concept for the gcc compiler since it doesn’t create any extra file for compiling. But the […]

Build a full Ubuntu desktop docker image

I want to build a full version of Ubuntu 14 desktop as the base image for gui applications, I know how to build on the Ubuntu desktop version by the debootstrap, as described in https://docs.docker.com/articles/baseimages/, but that is a minimal Linux version and some GUI application cannot run perfectly, because there are some basic components […]

Download failure within official ubuntu docker images on Ubuntu 14.04 host

Trying to build a new docker image from the official ubuntu:12.04 and ubuntu:latest on a Ubuntu 14.04.02 Trusty Server. It is not a DNS problem. It’s working fine. I’m not behind a proxy. I get the network connection, but can’t download the files. Always get 404: file not found, but the url is correct. Finally […]

How to Update pip in docker using fig?

It seems like the pip in docker is old: Traceback (most recent call last): File “/usr/bin/pip”, line 9, in <module> load_entry_point(‘pip==1.5.4’, ‘console_scripts’, ‘pip’)() File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2363, in load_entry_point return ep.load() File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2088, in load entry = __import__(self.module_name, globals(),globals(), [‘__name__’]) File “/usr/lib/python2.7/dist-packages/pip/__init__.py”, line 11, […]

Docker. Assign IP from the same range as Host

I am playing with docker. Now I want to assign IP to container from the same IPs range as my host OS has. My Host has IP address ( network). And I want to use for example from the same network for Docker container. For this I`ve installed bridge-utils (I am using Ubuntu […]

rabbitMQ nodedown error from Dockerfile

When building this Dockerfile, when it gets to the command: rabbitmqctl status It Returns: Error: unable to connect to node rabbit@d3659c5e113e: nodedown DIAGNOSTICS =========== nodes in question: [rabbit@d3659c5e113e] hosts, their running nodes and ports: – d3659c5e113e: [{rabbitmqctl20,52855}] current node details: – node name: rabbitmqctl20@d3659c5e113e I have no idea where to go from here. This is […]

How to let two docker containers can ping each other

I have two docker containers A & B, I want to do is in both containers can ping the other container. How should I do? And in one container, what’s ip address should I use to ping the other container? My OS is ubuntu:14.04, docker version is 1.6.2

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