Docker is an application to create containers for applications.

learn more… | top users | synonyms

3
votes
0answers
9 views

De-daemonizing an existing service

I have an existing service, which I'm not able to modify directly—let's say it's closed source, or too complex to edit, or autoupdates and therefore is not a good target for direct modifications. I ...
2
votes
0answers
7 views

Block port on boot2docker vm on virtualmachine

I have Boot2Docker image running in VirtualBox on my mac. I use Kitematic to run docker on my Mac. I have activemq docker running, on port 32769 in boot2docker vm. I have application running which ...
1
vote
0answers
18 views

File not createable in one directory having the same permission as another directory where it is

Trying to create a file in one directory works, whereas in a sibling directory with owners and permission copied, the same errors out with Permission denied. (touch as root works in both directories.) ...
2
votes
0answers
18 views

Large TCP backlog in docker container, but no visible connections

In a setup with three docker instances, one running haproxy and two others running a flask-based python application through uWsgi, we run into a situation after about a day where no new connections is ...
0
votes
0answers
10 views

Docker problems on external drive

I am having a weird problem with my laptop Dell XPS 13, when I run Docker from an external hard drive. I have configured docker daemon with the following parameters /usr/bin/docker daemon -g /path/...
2
votes
0answers
22 views

How to identify what capabilities are required for a command?

When I run a command within a docker container, I see: # ip netns exec 9ee961d90990 ifconfig setting the network namespace "9ee961d90990" failed: Operation not permitted I can launch my container ...
0
votes
1answer
30 views

Project Atomic registry not listening on 443

I'm using the official documentation for quick-start to install Atomic Registry on a Centos 7 atomic host, and it appears I can't access anything on port 443. (I also tried with a Fedora 23 atomic ...
0
votes
1answer
21 views

Docker image creation using RPM

I used the docker file bellow to create a docker image So, my problem is, when I was building it, the below error appeared. please help me solving it.
0
votes
0answers
30 views

Could not start docker with existing LVM thin pool option

I created an LVM thin pool to be used by Docker for storage. At the docker start time, I tell it to use the thin pool. Everything worked as expected by running docker info , I noted that it is using ...
3
votes
1answer
40 views

Forward ICMP Ping Packets to Interface

I've got a script that listens for ICMP ping packets (containing data payload) and while this works if you run it from command line, it doesn't work in a Docker container because ICMP ping packets are ...
-1
votes
0answers
18 views

Assign port to container

On my container with ID 634eb4c5d6ee I have these ports: docker port 634eb4c5d6ee 222/tcp -> 0.0.0.0:222 8080/tcp -> 0.0.0.0:80 8443/tcp -> 0.0.0.0:443 Now I want to change 8080/tcp -> ...
1
vote
0answers
11 views

Docker Remote API Use case?

What are the benefits of Docker Remote API versus Docker through Shell in a development environment and CI/CD ?
1
vote
0answers
13 views

qemu2.6 under docker

I build docker container which contain qemu2.5 based on ubuntu 16. When I try to run libvirt I got this error: root@1116a7e45f20:/# /etc/init.d/libvirt-bin start * Starting libvirt management ...
2
votes
0answers
36 views

Nginx with dnsmasq 'could not be resolved (5: Operation refused)'

I'm trying to set up a django site using docker, nginx and uwsgi: I have a nginx docker container working as a reverse proxy (called ceca-nginx-proxy) and another nginx (ceca-nginx) container that ...
0
votes
1answer
33 views

Why would a container not be bridged to the local network by default?

From my understanding on container technology (like lxc or docker), when you create a container it by default uses a "private network" like 10.0.1.x. I do not understand why you would not want it on ...
0
votes
1answer
50 views

Remote docker over ssh tunnel

I have been testing docker. Due to strict firewall policy that blocks all ports except the ones necessary, I bind my docker clients to local ports and use ssh tunnels to access them remotely for the ...
1
vote
1answer
56 views

Running NGINX as a Reverse Proxy on Docker?

I'm trying to run nginx as a reverse proxy for Gogs using Docker. First I setup gogs and I can see a web page for it rendered on: http://203.0.113.1:3000/ But I want to have NGINX proxy it for me ...
0
votes
1answer
24 views

Getting all open ports on all network interfaces

I have installed and run docker and now it created another network interface docker0: 3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/...
1
vote
1answer
16 views

Can't get docker to forward ports

I've been following a tutorial to try and learn docker, however, for some reason I can't seem to access any of the ports it's meant to be opening. For some reason it just times out. Where can I look ...
1
vote
1answer
27 views

Docker container on Red Hat Linux server 5.9

Can I install Docker on Red Hat server 5.9 so I can take an image container from an installed software and move it to another server? Or should it be enough to update the Kernel up to version 3 so ...
1
vote
0answers
99 views

Apt-get error : Writing more data than expected (7643558 > 7643216)

I am getting some weird errors with an ubuntu docker container: "Writing more data than expected (7643558 > 7643216)" Retrying the operations succeeded. I got this several times. I am running the ...
0
votes
0answers
54 views

FreeBSD or simply Docker for my old Linux server?

I have an old obsolete server running a Linux Red Hat server 5.9 and inside a special software for a power plant control and I've been asked to replace this server as not so much spare parts are in ...
1
vote
0answers
24 views

Compound Docker Entrypoint?

I need to backup a docker volume to a specific directory within another docker volume using Duplicity. So I need to run a command like this within the container performing the backup: mkdir -p /...
0
votes
0answers
28 views

What is the purpose of the symbolic `git` link inside the `/data/git` folder of the gogs docker installation?

Initially I asked this as a more generic question here: Is there a purpose to a symbolic link that points back to the directory containing it? Since it relates to gogs specifically I'm asking for a ...
1
vote
1answer
55 views

What is the network connection speed between two containers communicating via a virtual bridge running on the same host?

Does a virtual bridge (added to /etc/network/interfaces) limit the transfer speed of data from the memory of one lxc/docker container to another? For example does the memory throughput drop to that ...
0
votes
0answers
30 views

Multiple Tomcat Containers using Docker

I need a machine to run 2 BPM engines for comparisom. I'm running Camunda BPM in port 8080 so I want bonita to answer in port 8081 on the same host. I've installed the appliance with the following ...
0
votes
0answers
15 views

NetBeans 8.1 installer stuck on 64-bit RHEL 7

This is CentOS 7 running in Docker. Silent install doesn't show anything in /tmp/state.xml. When I remove silent install and enable X11 for the installer Window, I can see that the installer is stuck ...
2
votes
0answers
49 views

Docker storage setup utility absent in 1.11.x version

I need to use docker-storage-setup command, which is absent in my current docker package 1.11.1, when I did a yum provides on the command name, it seems it was available in previous versions. Why it ...
0
votes
0answers
36 views

Docker dns failure

I launched Concourse CI worker with Boot2docker on OS X. Docker info: Client: Version: 1.11.0 API version: 1.23 Go version: go1.5.4 Git commit: 4dc5990 Built: Wed Apr 13 18:13:...
0
votes
0answers
17 views

Docker - expose port to 1 particular host

We currently have a network consisting of 2 servers (mongodb and backend, from here on). All of them run Ubuntu 14.04 Previously we just ran both on the same server but we want to expand. We already ...
1
vote
1answer
88 views

How to build cron docker image properly?

I am trying to build Debian-based image to dockerize cron process, but my cron jobs are never started. Here is my Dockerfile: FROM debian:jessie RUN apt-get update && apt-get install -y --no-...
1
vote
0answers
167 views

can't save docker image: Error response from daemon: chtimes: invalid argument

i can't save my docker images, when i try to save a container, it fails: Error response from daemon: chtimes /var/lib/docker/tmp/docker-export-616188241/...
3
votes
1answer
47 views

How do I configure Docker containers to have unique IP addresses that are not the default ones?

How do I configure Docker containers to have unique IP addresses that are not the default ones? The Docker containers will run Apache or some web service. These Docker containers will share one host ...
2
votes
0answers
70 views

How do I get Consul to work so I can get Docker Overlay to work?

I am running CentOS 7 with Docker. I am trying to install Consul on the Docker server. Consul is unzipped. The binary file works for showing the version. I ran this: echo $CONSUL_RPC_ADDR This ...
0
votes
1answer
29 views

Can’t build and start docker container with mariadb

Host OS: Ubuntu 16.04 x86_64 Docker OS: Alpine Linux Edge Docker version: 1.11.0, build 4dc5990 MariaDB version: 10.1.13 I try to install MariaDB via Dockerfile and start it on entrypoint (...
0
votes
1answer
51 views

Problem running systemctl in centos7 based container

Error message from docker log command : Failed to get D-Bus connection: Operation not permitted My docker file: `From centos:latest MAINTAINER Ijaz <ihmad@example.com> RUN yum -y update; yum ...
2
votes
0answers
76 views

GPG Key Generation Fails on Alpine Linux Docker Image

I've performed the following test on a docker alpine linux: ole@MKI:~$ docker run --rm -it alpine /bin/ash / # apk add --update duplicity fetch http://dl-4.alpinelinux.org/alpine/v3.3/...
5
votes
1answer
104 views

Docker container with Samba exits without any message

We have a server running CentOS, on which there are several services in Docker containers to separate them from host changes. Last week Friday we ran an update on CentOS, and since then one of our ...
0
votes
0answers
147 views

Linux command “systemctl status” is not working inside a Docker container

The command "systemctl status" is not working. It never has. My container is on CentOS 7. When I issue "systemctl status" I get results "Failed to get D-Bus connection: operation not permitted." Path ...
0
votes
0answers
83 views

How do I get a yum repo to work in a Docker container?

What do I do about two Docker containers on separate VMs that have the same IP address on my network? I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, the ...
0
votes
0answers
20 views

Testing OpenSSH Logging

I'm attempting to turn on logging inside OpenSSH running in an Alpine Docker container. I made sure to install rsyslog and start the daemon with /usr/sbin/rsyslogd. My sshd logging settings are as ...
1
vote
1answer
45 views

The most secure Alpine SSHD Configuration

I'm experimenting with Docker's alpine image and OpenSSH. The sshd_config file that ships with alpine has everything commented out by default. I only uncomment Port 22. I assume this is the most ...
2
votes
1answer
172 views

Don't allow docker internet access

I'm looking for a simple way to limit my docker containers so they only have local access and not internet access. I've tried using IPtables to do this and the following works: iptables -I FORWARD -...
0
votes
0answers
16 views

Is it possible to setup a bridge configuration where only the host can access a VM, but not the other way around and no VM->VM?

I have a KVM hypervisor set up with several VMs. A docker instance runs in each of them (for security purposes the containers shouldn't run on bare metal next to each other). Is it possible to ...
1
vote
1answer
49 views

Can't pipe into netcat

I have a squid proxy running in a docker container, started like this: docker run --privileged -d --publish=3128:3128 --name foo squid I want to get some information from it, from another container ...
0
votes
2answers
23 views

How to send files to coreos from windows workstation

I have some nodejs projects and other files that I want to put on the coreos private server, what is the easiest method to take files from the workstation (windows) and put them into the coreos system?...
0
votes
2answers
108 views

How do I install Python in Linux with no Internet access?

Part 1 I have CentOS with no Internet access. I have a docker container based on Ubuntu. I want to install Python inside the Docker container. I downloaded some .deb files for installing Python 2.7....
0
votes
0answers
34 views

Disk usage for a mounted drive shows up completely between the host and a container

When comparing the disk usage for a mounted harddrive the usage is completely different when compared between the host and the container. I am running Ubuntu 14.04 on the host and in the lxc container....
0
votes
0answers
36 views

Install Docker packages for non-root users to user home

I have access to Grid5000 and would like to use Docker containers on it. Tutorial says, that users should install the tools in the user's home and add the user's home to the PATH environment variable. ...
4
votes
1answer
44 views

Share host directory between multiple containers vs. SELinux

Sharing a host directory with a docker container usually is easy enough: $ docker create -v /path/to/hostdir:/path/inside/container --name conta ... Things get more complicated, if SELinux is ...