Docker is an application to create containers for applications.

learn more… | top users | synonyms

0
votes
1answer
11 views

Close outer container from Internet with iptables

How to close exact docker container port (for example 7777) from access from Internet with iptables. But the other containers should be reachable.
1
vote
0answers
13 views

Tell guest OS to use my dockerized mail server to send email

I have postfix running in a Docker container. A cronjob try to send email, but reply “(CRON) info (No MTA installed, discarding output)” error in the syslog According to this link, the solution is ...
3
votes
3answers
55 views

`sed` regexp error

I'm trying to write an alias to get the ip of a docker container. The command is the following: docker inspect redis | grep IPAddress | awk 'NR==3{ print $2 }' | sed 's/[^"]*"\([^"]*\)".*/\1/' If I ...
1
vote
0answers
23 views

Docker communication between containers

Using CoreOS (docker preinstalled), I am failing to make two containers communicate together. I am trying to setup a MySql container called by a Gogs container (Git server). So here is what I did: ...
0
votes
1answer
27 views

Start Docker container and open web browser on host

I recently faced one non-trivial (for me) case. Maybe you know any way to solve it. I have a shell script that runs Docker command to start the Ubuntu container, which ends up with running guest Bash ...
0
votes
0answers
25 views

Can't push docker image into private repository

I'm trying to push my image to my friend's private repository but I keep getting this error: Index response didn't contain any endpoints I have added --insecure-repository to my launch config ...
0
votes
1answer
30 views

how do I install a software I've prebuilt with `make`?

short version: make install tries to recompile the project. I just want to place all the files in the right places. long version: I've created a docker container for building the projects that I ...
5
votes
0answers
35 views

systemd user cannot get user group's ability

I added a non-root user in docker group, and an other service run as this non-root user connect to docker daemon. but the service can not work. I do a test example for this : root@# systemctl start ...
1
vote
1answer
24 views

Authentication is required to mount /dev/mapper/docker

KDE keeps prompting me to authenticate (or it just hangs waiting to prompt) to run certain docker commands like docker run java:8-jdk-alpine sh What do I need to change in order to be able to run ...
1
vote
0answers
27 views

iptables - Map port on the host to a port in a Docker container

I am running a Docker container inside AWS Elastic Beanstalk, running Amazon's 'Amazon Linux', which I believe is a CentOS derivative. In my development environment, I'd like to enable debugging on ...
1
vote
1answer
30 views

How to setup a docker container to run on boot in CentOS 6.7

I have a CentOS 6.7 server and I would like to run the docker containers at boot time. The docker service already gets started at boot time. I would like to run this command on boot time: docker ...
1
vote
0answers
19 views

RPM Spec file seeing single command as two?

I'm having an odd issue with my spec file. I realize that my spec file is entirely improper but I am not here for a lecture. Within it, I have the following line: sudo docker exec -d tomcat cp /opt/...
1
vote
1answer
117 views

Installing docker hangs at “setting up docker-engine” on ubuntu xenial

I'm trying to install docker on ubuntu xenial and am following this tutorial: https://docs.docker.com/engine/installation/linux/ubuntulinux/. So far it's gone without a hitch except for there ...
1
vote
1answer
99 views

Mounting a NFS Directory into Host Volume that is shared with Docker

Consider the following Docker container: docker run --rm -it -v /tmp:/mnt/tmp alpine sh This mounts the host directory /tmp into /mnt/tmp inside of the alpine container. Now, on the Host System I ...
3
votes
1answer
35 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 ...
3
votes
0answers
16 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 ...
0
votes
0answers
28 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.) ...
0
votes
1answer
19 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
27 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
46 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
22 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
66 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
58 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 ...
2
votes
0answers
14 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
1answer
20 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
56 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
44 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
64 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
79 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
26 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
23 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
194 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
62 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
27 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
29 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
69 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
58 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
22 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
63 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 ...
1
vote
0answers
48 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
19 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
182 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
265 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
91 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
104 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
36 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
79 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
1answer
157 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
131 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 ...