Tag: linux

how to change MTU inside docker container on ubuntu 14.4

I want to change MTU(Maximum Transmission Unit) inside docker which is running on ubuntu 14.04. Also docker container running with ubuntu 14.04. The problem is that its docker0 interface on host os can change the MTU value from 1500 to 9000 but its doesn’t gives affects inside docker os. means inside docker it is running […]

Docker : initial installation script fails (ubuntu 13.04 , kernel 3.8+)

I created this script according to docker.io installation instructions for Ubuntu 13.04 with 3.8+ kernel, but script is interrupted as lxc-docker installation fihishes. ssh -o StrictHostKeychecking=no -t -t -i $CERT $USER@$SERVER <<‘ENDSSH’ sudo DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:dotcloud/lxc-docker sudo DEBIAN_FRONTEND=noninteractive apt-get -y update sudo DEBIAN_FRONTEND=noninteractive apt-get -y install lxc-docker echo […]

Mesos slave container with Oracle Linux 7 base image fails to start

I created a mesos slave docker image with Oracle Linux 7.2 as the base image. The dockerfile builds correctly but when I try to run the image, it gives the following error: I0414 17:57:30.659329 1 logging.cpp:188] INFO level logging started! I0414 17:57:30.666347 1 main.cpp:223] Build: 2016-03-17 17:47:25 by root I0414 17:57:30.666445 1 main.cpp:225] Version: 0.28.0 […]

Docker tomcat 7 – welcome page access forbidden

I’ve tried almost everything. When I go to a docker container by ssh and curl localhost:8080 there, I get normal welcome page, but If I do curl host_machine_hostname:8082 from my hostmachine by ssh or from everything else using hostname of my hostmachine, I get error, access forbidden. I have read alot of suggestions but nothing […]

Running Disco in a Docker container

I need to run a run a Python script in a Docker container (I currently have execution of “disco_test.py” as my ENTRYPOINT command) that will utilize Disco (which of course needs to be running in that container). The problem is I cannot seem to get Disco running either with CMD or RUN in the Dockerfile, […]

Dockerfile won't run script as user with sudo rights

I have this Docker file… FROM ubuntu:14.04 MAINTAINER Sindhu S sindhu@alum.hackerschool.org # RUN apt-get update && apt-get -y install sudo wget bash git && rm -rf /var/cache/apt-get/archives/* RUN adduser –disabled-password –gecos “” scrollback RUN adduser scrollback sudo RUN echo ‘scrollback ALL=(ALL) NOPASSWD:ALL’ >> /etc/sudoers RUN mkdir -p /home/scrollback && chown -R scrollback:scrollback /home/scrollback WORKDIR /home/scrollback/ […]

How to share Mac screen to Linux docker container?

I want to run odesk time tracker (a Qt4 app) which captures your screen and keystrokes for freelance work logging. But I don’t trust it and want to sandbox it. On Linux, there are ways to run GUI items on docker container and forward X11 to Linux host. Can I do this on mac? The […]

Docker inter-container routing

I have a dockerized application which has a number (dozens) of simple containers which produce some network traffic. This traffic should be routed to a VPN (certificate authenticated OpenVPN). The simple way to accomplish this is to install OpenVPN and the certificates on the host, and then the docker standard networking takes care of the […]

Docker and MySQL can't connect

I can’t for the life of me figure this out. I feel like I’m really close, but im just not quite there yet. Here’s my Dockerfile: FROM ubuntu:14.04 MAINTAINER Oscar Godson RUN apt-get update RUN apt-get install -y nodejs-legacy RUN apt-get install -y npm RUN apt-get install -y mysql-server RUN apt-get install -y mysql-client COPY […]

What is Docker storage driver

I am learning Docker storage and I am not clear about Docker storage drivers. What is docker‘s storage driver in layman’s terms? How is it different than Backing Filesystem that docker info command shows? If someone wants to write his own storage driver? How to do that?

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