Docker is an application to create containers for applications.

learn more… | top users | synonyms

1
vote
1answer
24 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
22 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
32 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
18 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
20 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
31 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
13 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
11 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
22 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
25 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 ...
0
votes
0answers
13 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
46 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 ...
1
vote
0answers
73 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 ...
3
votes
1answer
34 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
44 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
21 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
28 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
37 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 ...
4
votes
1answer
65 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
90 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
53 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
15 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
33 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
80 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
39 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
19 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 ...
0
votes
2answers
81 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 ...
0
votes
0answers
32 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 ...
0
votes
0answers
26 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
37 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 ...
1
vote
1answer
127 views

Change permissions for files created by docker daemon service

I'm trying to change the default permissions assigned to files when created by the docker daemon by changing the default umask. The docker daemon service runs as root and creates the files with umask ...
0
votes
1answer
176 views

Installing Docker on RedHat fails with 403 forbidden

I'm trying to install Docker on a "Hat Enterprise Linux Server release 7.2 (Maipo)" according to these instructions but sudo yum install docker-engine fails with: ...
2
votes
2answers
212 views

nohup … & doesn't work as expected in docker script

I have a simple Dockerfile like this FROM ubuntu:latest ADD run.sh /run.sh CMD /run.sh In run.sh, I have this (also deadly simple) #!/bin/bash nohup awk 'BEGIN { while (c++<50) print "y" }' ...
1
vote
0answers
104 views

macvlan-network device doesn't communicate outside host from within a container

I am attempting to erect a set of Docker or LXC containers, each with their own routable IP address. The containing host is actually a VM running within RedHat Enterprise Virtualization, which is a ...
1
vote
1answer
67 views

find and kill all docker instances older than 1 day

I need to run a command docker ps -a which says lists: id name time 1 abc 6 weeks ago To kill we need to fire the command: docker kill id I need to find all ids and run the ...
3
votes
1answer
66 views

How to run a program inside a Docker container?

I'm running an application called ERDDAP using this Docker container run thusly: docker stop erddap docker rm erddap docker run -p 8090:8080 -p 8543:8443 -d -v ...
1
vote
1answer
240 views

Docker container doesn't expose ports when --net=host is mentioned in the docker run command

I have a CentOS docker container on CentOS docker host. When I use this command to run the docker image docker run -d --net=host -p 8777:8777 ceilometer:1.x the docker container get host's IP but ...
0
votes
0answers
48 views

rsync fails when ssh can't open /dev/tty

I've got a script that needs to rsync some files to a remote machine. The rsync command looks like this: rsync -avz -e 'ssh -vv -o IdentitiesOnly=yes -i /data/credentials/rsync2.key' \ ...
3
votes
1answer
60 views

Can I build a Docker container from Dockerfile in an interactive way with allocation of some pseudo TTY?

I build container from below Dockerfile: FROM ubuntu:14.04 ... RUN apt-get update && apt-get install -y vim #RUN ssh-keygen -f /root/.ssh/id_rsa -N strongpass123$%^ RUN ssh-keygen -f ...
3
votes
1answer
28 views

bash not resizing correctly within interactive Docker container

Every time the terminal size changes, usually bash will resize automatically so that the LINES and COLUMNS are recomputed correctly. But for some reason this isn't working within a Docker container ...
2
votes
2answers
224 views

How to configure logging inside a Docker container?

I was trying to dockerize (into Debian 8.2) an OpenVPN server (yes, I do know, there already are such containers) but something went wrong inside the container and the server failed to start. I ...
0
votes
0answers
27 views

SSH from a docker container using OS X configs and credentials

I need to set up a Docker container so its users can ssh from it to a third party host, transparently using the configuration and credentials from an OS X workstation that is host to the Docker host ...
0
votes
1answer
840 views

Running Docker under Windows/cygwin environment

I'm not sure if this is the right community to ask about my problem as I'm actually trying to launch docker within cygwin environment on windows. After Docker Toolbox install I'm trying to launch ...
1
vote
0answers
29 views

Why I can not update Linux core in dockers?

When I run apt-get update && apt-get upgrade in container, the core is not starting to update. Yes, I know, containers use the kernel of host machine and can not execute some ...
3
votes
2answers
130 views

Can't install man pages on minimal Centos Docker container

I have a minimal Centos 7 Docker image, and I'm trying to get some man pages on it to help in debugging my Dockerfile. Out of the box, it doesn't have much: # man ls No manual entry for ls Per this ...
1
vote
1answer
195 views

ssh Connection reset by 192.168.x.x

I'm trying to ssh login from Mac OSX 10.10 into CentOS 7.1 on boot2docker by using public key authentication. The problem is that ssh shows Connection reset by 192.168.99.100 when I login to CentOs ...
4
votes
1answer
498 views

How to run builds in Docker containers from Jenkins

I am trying to use Jenkins to build a C++ project in a Docker container. I have no problem building in Jenkins, or building in a container outside of Jenkins. Below is what I tried. I am omitting the ...
0
votes
1answer
77 views

source RPM doesn't seem to install on CentOS with no errors

My experience with CentOS and RPM's is limited so I might be missing something obvious, but I can't seem to figure this out... I'm trying to install Sphinx into CentOS 6 in a Docker image using the ...
3
votes
1answer
710 views

docker compose create containers without starting them

My docker containers are build with docker-compose and I automatically start them container on my CentOS 7 system using derivatives from the documentation example:: [Unit] Description=condb container ...