Docker is an application to create containers for applications.

learn more… | top users | synonyms

0
votes
0answers
13 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
22 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
16 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
12 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
0answers
24 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 ...
4
votes
0answers
134 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
19 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
49 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
44 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
0answers
38 views

Did Ubuntu fix the Docker Security Flaw? [migrated]

I read an article that said that Docker was insecure, and that this is why Core OS was created. Then a short time later, I read an article that Mark Shuttleworth of Canonical / Ubuntu fame was ...
0
votes
1answer
70 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
67 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 ...
1
vote
1answer
94 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
66 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
108 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
150 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
387 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
35 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
74 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
151 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
299 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
161 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
95 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
57 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
549 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
48 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
138 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
20 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
0answers
320 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
454 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
50 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
0answers
194 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
50 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
587 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
57 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
173 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
148 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
70 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
41 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
282 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
310 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
328 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
233 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 ...
0
votes
0answers
48 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?
0
votes
1answer
70 views

Could I install both Docker and LXC on the same linux box?

Docker and LXC both has it pros and cons. For instance, LXC could run properly with traditional init service or process but docker couldn't (at this moment).
0
votes
1answer
82 views

All images and containers disappeared after host kernel downgrade

On the host machine was installed kernel 3.16. After installation the kernel 3.14 via deb package I lost all docker images and containers. Output of commands docker images and docker ps -a are empty. ...
3
votes
2answers
337 views

Docker like solutions for OpenVZ containers

We have been providing OpenVZ containers(VEs) for developers working on some projects - this was done from a purely economical perspective. I have been asked to setup a Docker-like system within the ...
2
votes
2answers
290 views

Docker Container Volumes Synced Locally

I am trying to run a local Docker Registry with a synchronized storage with my Dropbox so I can have access to built VMs without having to rebuild the images if I move to a different work station. I ...
3
votes
2answers
726 views

Why does Docker need root privileges?

I am learning Docker, and I quite like it. However, I don't understand, why does docker need root privileges for making containers, reading logs, and so on. I have read some articles like this one ...
2
votes
3answers
465 views

Display hostname in static HTML page on uhttpd

I have a docker container running uhttpd and serving a static HTML page. How can I dynamically insert the hostname of the container into the static HTML page? I want to keep the container as ...