Docker is an application to create containers for applications.

learn more… | top users | synonyms

0
votes
1answer
7 views

Docker: personal ip but another network

Recently i found this for give to docker a "personal" ip ip addr del 10.1.1.133/24 dev eth0 ip link add link eth0 dev eth0m type macvlan mode bridge ip link set eth0m up ip addr add 10.1.1.133/24 dev ...
0
votes
1answer
30 views

Docker: i want a “personal” ip for containers

Simple question: under kvm i use a scheme like this SERVER1(slackware with libvirt and kvm) 192.167.0.14 interface BR0(bridged network to eth0) the virtualmachines of kvm take ip static or dhcp ...
1
vote
0answers
25 views

inconsistent Docker image

Docker images are supposed to be immutable, yet when I import one of my images on another machine, it behaves differently. To reproduce the bug, I will start from a debian-wheezy image built using ...
2
votes
2answers
30 views

Which Linux capability do I need in order to write to /proc/sys/vm/drop_caches?

I am trying to clear my filesystem cache from inside a docker container, like so: docker run --rm ubuntu:vivid sh -c "/bin/echo 3 > /proc/sys/vm/drop_caches" If I run this command I get sh: 1: ...
0
votes
1answer
16 views

Docker CentOS7 image and locale compilation problems

I'm setting up a Docker image which requires localization support. I also need to patch the pt_BR locale according to comment #21 on this thread. So what I'm basically doing is reinstall glibc to ...
0
votes
0answers
9 views

How to Transport a Mono Development Environement using Docker

I am developing a Mono Application and i want to run it on several Linux Machines . I have to set up Mono Development Environment on each machine and it can take a lot of time. I read that it is ...
1
vote
1answer
40 views

Running a systemd service once a day (on a CoreOS cluster)

I currently have a CoreOS cluster on AWS. The cluster runs multiples containers, mainly for Rails applications. However, one of this container is a pure Ruby app processing a lot of data from specific ...
1
vote
0answers
28 views

Running tc inside a container

I have a debian-lastest container launched from Docker in interactive mode. I want to simluate network delay on this container, using tc. I was trying to use this command: root@a859600f8ea0:/# tc ...
0
votes
2answers
72 views

“date -d” command fails on Docker Alpine Linux container

I built Alpine Linux in a Docker container with the following Dockerfile: FROM alpine:3.2 RUN apk add --update jq curl && rm -rf /var/cache/apk/* the build run successfully: $ docker build ...
2
votes
0answers
35 views

Moving a whole server into docker instance (or LXC)

It seems to work, to move an existing install into a virtual machine. Is it possible to move a whole Debian server into a docker instance inside the same machine? I would like to get a docker that I ...
1
vote
1answer
27 views

How to enter filesystem on docker container after computer crash?

I had a running Docker container on a computer. The computer crashed due to a power failure. The disk started up right etc, and now I want to go somehow go to the container and "salvage" the data ...
1
vote
0answers
20 views

docker container manual networking setup not working

I have an application environment where two containers need to talk to each other. container A gets a message from container B, and container A initiates a connection back to container B using the ...
2
votes
1answer
94 views

'Docker' File System - Compatibility with Symbolic Links

The question is marked in bold if you wish to skip the explanation of our situation. I work as a developer for a server network. We deploy multiple instances of our servers. we have 5 types of server ...
5
votes
0answers
497 views

Docker says “no space left on device” but, system has plenty of space?

I'm trying to run a docker image that works on other systems (and you can even pull it from dockerhub, if you'd like: it's dougbtv/asterisk) however, on my general workstation, it's complaining about ...
0
votes
0answers
37 views

firewalld isn't blocking/dropping ports for ports mapped from docker containers

I have firewalld installed and running on my machine. here are my active zones # firewall-cmd --list-all-zones ... drop (active) interfaces: enp2s0 sources: services: http https ssh ports: ...
1
vote
1answer
57 views

Automate input to the shell of a program

These days many programs like mongodb, docker etc, have there own shell i.e., if you type docker -i it opens an interactive shell (similarly with mongo and other programs). Is there a way to automate ...
2
votes
0answers
89 views

mDNS to/from a Docker container

I've made a Docker container which runs a forked-daapd (a DAAP server publishing over mDNS with a single port 3689 for HTTP requests) and exposes the port properly to the host operating system: sudo ...
0
votes
1answer
283 views

How to configure Centos 7 firewallD to allow docker containers free access to the host's network ports?

I have docker installed on CentOS 7 and I am running firewallD. From inside my container, going to the host (default 172.17.42.1) With firewall on container# nc -v 172.17.42.1 4243 nc: connect to ...
0
votes
0answers
104 views

Installing Docker into Vagrant VM failed

I'm using Vagrant and Docker and this problem occurred while i vagrant up my machine, it works fine before: ==> default: Running provisioner: docker... default: Installing Docker (latest) onto ...
2
votes
1answer
210 views

Getting “Protocol Error” when trying to create a symlink in Docker

I'm trying to setup a symlink, using the command ln -s /var/www/data/cache/widget/overlay/ /var/www/public_html/images/overlay but it outputs ln: failed to create symbolic link ...
0
votes
1answer
105 views

Cannot (force) remove directory in Docker build

With this Dockerfile: FROM php:5.4-fpm RUN apt-get -qqy update \ && apt-get -qqy install git \ libcurl4-gnutls-dev \ libmcrypt-dev \ ...
0
votes
0answers
123 views

How can I publish the IP addresses of Docker containers as local hosts?

I have a CoreOS server with a few Docker containers. (Right now I'm using local systemd unit files to run the containers, I have yet to approach fleetd.) What is the best way to connect to the (non ...
1
vote
0answers
196 views

Make docker containers accessible via vpn

I have three physical machine A, B, C, each of them has docker installed. I want to install openvpn server on machine A, and install openvpn client on B and C. B and C will connect to A. I want to ...
1
vote
1answer
627 views

docker - how to run x desktop in a container?

I'm trying to set up my Linux machine to run multiple guest OSes, one of those being a Windows VM, and another a Linux container. The goal here is to prevent me from messing up the host system, while ...
0
votes
1answer
39 views

Can I mount /usr/src/linux from docker to my session?

I need access to kernel sources from my session. Is it possible? Can I mount it to /usr/src/linux/ ?
1
vote
1answer
102 views

Firefox in Docker, failed in isolation

While experimenting with docker, I realized I can run a browser in a container for improved security. I managed to start with a clean Docker Fedora, in which I installed the openssh-daemon package. ...
4
votes
1answer
212 views

CoreOS can't pull docker container on boot

While following the systemd guide I ran into an issue with this example configuration: [Unit] Description=MyApp After=docker.service Requires=docker.service [Service] TimeoutStartSec=0 ...
0
votes
0answers
403 views

“exec format error” on docker run

I have a MacBook Pro running Yosemite. On this I have Virtualbox installed with an Ubuntu system running within it. All packages on both are reasonably up to date (within a month of current). ...
0
votes
1answer
199 views

CoreOS in Vagrant - interfaces

I'm trying to understand the networking model in CoreOS but I'm having trouble making the operating system bend to my will. The problem I'm facing is that I want to use weave as an overlay network ...
0
votes
1answer
116 views

Starting Services without Systemd?

Is it possible to start services on and post startup in CentOS/Fedora distributions without using systemd (systemctl)? If yes, how? Systemd does not work in non-privileged docker containers; ...
0
votes
0answers
69 views

Error in Installing eclipse

I am running sudo apt-get install eclipse-platform command inside Docker Then ran eclipse I get the following error find: `//.eclipse': No such file or directory find: `//.eclipse': No such file ...
0
votes
1answer
840 views

How can i kill docker containers

I have seen many times i am not able to stop conatiner docker stop hashid Error response from daemon: Cannot stop container 1fdfd212ebb7: no such process FATA[0000] Error: failed to stop one or more ...
0
votes
0answers
53 views

How to use stdout/stderr from multiple program

I'm working with Docker-containers. An important part of Docker is to log error, etc., to stdout/stderr. For example, I want to run the following program by using this command: nginx -g "daemon ...
1
vote
1answer
189 views

How to run specific architecture (32/64) of Python in Centos6 when both are installed?

I have a Centos 6.6 Docker image being used for an automated build. It has the default x64 Python 2.6.6 installed. I need to run some things in a 32-bit Python environment. I snagged the ...
0
votes
0answers
22 views

What's wrong with the mapping?

I am running two docker containers one is for hadoop basic services and other is for flume. Services are running successfully. I linked two containers env variables are automatically set by docker ...
2
votes
1answer
391 views

Does jps lie? If not, what else is this?

I am running dockerized hadoop cdh 4.6.0 with supervisor . I have opened the docker container and tried the following two commands. Got confused a lot. jps 103 -- process information unavailable ...
0
votes
0answers
581 views

No manual entry for man

I'm working in a Centos 6.6 Docker image. I thought I installed everything to get access to man pages, but apparently not... $ yum install -y man man-pages man-pages-overrides [...] Complete! $ ...
0
votes
0answers
54 views

Authenticating a virtual machine against a git server

I have a CentOS 7 VM hosted on a Scientific Linux machine (Both branches are Red Hat). I'm using docker as the SW to emulate CentOS over SL. Communication between both is done through a bridge (a ...
0
votes
1answer
239 views

Docker in Crouton - VFS consuming astronomical amounts of space

I'm attempting to help out a roommate who has installed Kubuntu on his Chromebook using Crouton (it's basically just a fancy chroot run within ChromeOS). I helped him get the Docker daemon running, ...
1
vote
0answers
54 views

Mounting docker volumes to conatiners

I have seen that once i have ran my container then its not possible to attach any volume to it. I was thinking of creating a container which has suppose 2 volumes mounted from host Container A -v ...
1
vote
1answer
769 views

Docker container not able to ping host

I am following this tutorial https://docs.docker.com/articles/networking/#between-containers I have used following commands $ sudo brctl addbr bridge0 $ sudo ip addr add 192.168.0.160/24 dev ...
1
vote
0answers
64 views

Interface doesn't come up in docker run

I'm starting a docker container with my own network configuration: [root@localhost ~]# docker run --net=none --lxc-conf="lxc.network.type=veth" --lxc-conf="lxc.network.ipv4=10.0.0.100/24" ...
1
vote
0answers
219 views

openssh-server doesn't start in Docker container

I am having a weird problem. I am not able to ssh to docker container having ip address 172.17.0.61. I am getting following error: $ ssh 172.17.0.61 ssh: connect to host 172.17.0.61 port 22: ...
2
votes
0answers
161 views

Convert sysvinit/upstart init scripts to runit

I am trying to migrate a currently VM-based infrastructure to a Docker-based one, using docker-baseimage, which uses runit/runsv to start and supervise system services. Now while it is apparently very ...
1
vote
0answers
76 views

How to change keyboard layout for skype from docker?

I deployed skype according to this document. However, i do not understand how to add keyboard layout and map.
0
votes
1answer
42 views

run -i vs run -it?

I am using boot2docker on windows. I tried the following commands docker run -i centos /bin/bash docker run -it centos /bin/bash Both provides same kind of execution. I read -i is interactive ...
0
votes
1answer
332 views

tar command not found on rhel6

I am trying to download a file in rhel6 and use tar to uncompress it. I am running this on docker. I get a wierd error saying : /bin/sh: tar: command not found 2014/12/22 19:32:21 The command ...
0
votes
0answers
337 views

Issue running Python script via cron inside Docker

I have an official Ubuntu 14.04.1 container running via Docker. cron is working fine, I added * * * * * /bin/echo "working" >> /test to my crontab using crontab -e and then I started cron with ...
1
vote
1answer
388 views

/sys: cpio: chown failed - Read-only file system (Building Passenger RPM using Docker) [duplicate]

While I'm trying to build rpm using Docker for Phusion Passenger 4.0.53 (https://github.com/phusion/passenger_rpm_automation), I get the following error. Any help is most appreciated. $ ./build -p ...
0
votes
0answers
272 views

Mount proc filesystem in a docker container

i want to install gitlab vcs in a docker container with ubuntu base image on it. But when i run gitlab-ctl recofigure, it can't write to a file on proc fs. How to mount or run docker to provide rw ...