Docker is an application to create containers for applications.
0
votes
1answer
12 views
Is it normal to have duplicate /var mount if using docker?
Question: /var is mounted twice, is this normal for a system that uses docker?
"df -m | grep var" only shows it mounted at /var.
Versions are: RHEL 7.2 Maipo, docker-engine-1.12.1-1.el7.centos....
0
votes
0answers
6 views
Can you use a Docker image with LXC/LXD?
I need to launch an LXC container on OpenStack Nova-Compute, but I like the comfort of building images with Docker.
Since Docker uses LXC, is it possible to "export" a Docker image as a LXC image to ...
0
votes
1answer
35 views
Docker run causing kernel panic
I'm trying to run Docker under a Linux Mint 17.3, and every step works fine(pull, rm, images, etc), but whenever I try to run any containers, my computer freezes totally(though the music keeps playing)...
1
vote
1answer
13 views
Hubot bash adapter keep alive
I'm writing a Dockerfile to deploy a Hubot image using it's default Bash adapter.
The problem is that the process dies right away, without logging any error. It basically just exits.
How can I keep ...
1
vote
2answers
35 views
What exactly is echo '[local]\nlocalhost\n' > /etc?
RUN echo '[local]\nlocalhost\n' > /etc/ansible/hosts
This line is in my dockerfile, and I assume it just means add localhost to the ansible/hosts file?
Can someone break down what [local]\...
0
votes
0answers
21 views
Docker installation debian openjdk-7-jre
I'been trying to install openjdk-7-jre in a docker image, But when i tried to install it i get the following error:
E: Failed to fetch http://security.debian.org/pool/updates/main/o/openjdk-7/...
1
vote
0answers
16 views
Rendering a screenshot of onely one selected application in a (docker) containter
In this there is for me three questions :
How to render a graphical application -ex firefox, in command line ? Without the entire screen.
How to render a console output -ie, only text ? I see ...
2
votes
3answers
88 views
How do I write to a file inside a running docker container?
With cat I can read from a file to stdout. This way I can for example pipe a file out of a docker container:
docker exec my_container cat file > file_on_host
When I want to do the opposite, I ...
1
vote
0answers
13 views
Docker machine behind firewall
I'm having serious problems trying to create a Droplet in Digital Ocean using Docker Machine.
The reason is that I'm connected behind a firewall which blocks almost everything. So when I try to ...
1
vote
1answer
29 views
Delivering docker image to multiple servers without docker machine
I have a couple machines running in an isolated environment. They can be accessed via a bastion machine which has a public IP address. I'm currently trying to automate the distribution of docker ...
2
votes
0answers
58 views
Restart systemd with different options without rebooting?
Is it possible to restart systemd and add/remove/override any options it gets from the kernel boot command-line (i.e. /proc/cmdline)?
I've run into the bug with systemd 232 & docker on newish ...
1
vote
1answer
26 views
Docker container cannot pull github repo , name resolution fails
I am using docker version 1.7 on centos-6:
docker --version
Docker version 1.7.1, build 786b29d/1.7.1
The problem is: when somehow the /etc/resolv.conf file contains nameservers with ipv6 addresses, ...
3
votes
1answer
44 views
collectd cannot monitor ntpd 4.2.8 (Ubuntu 16.04)
I have a Docker container based on Ubuntu 16.04 which runs the ntpd 4.2.8 service. Upon instantiation of the container, I've published the port 123/udp.
From the host or other computer on the LAN, I ...
0
votes
1answer
153 views
docker run with --bip option fails
Docker version:
Version: 1.12.2
API version: 1.24
Go version: go1.7
Git commit: 8eab29e
OS/Arch: linux/amd64
Docker info:
Storage Driver: btrfs
Build Version: Btrfs v4.1.2+20151002
Library Version: ...
0
votes
0answers
20 views
Docker containers going offline with corresponding kernel logs
I'm running docker swarm on a cluster of Raspberry Pis and having trouble with one particular node intermittently becoming unreachable. The pis are running Hypriot OS 7
The docker logs show:
dockerd[...
1
vote
1answer
37 views
HTTPS with Docker?
I run a Docker container that contains a lightweight Debian and an app on a Ubuntu remote-server.
Right now I can reach the app online over http://remote-server-ip:port, but I'd like to make it ...
1
vote
1answer
15 views
When a vulnerability has been found affecting Linux Kernel, what should I do with Docker?
Let's say that I have an Ubuntu host machine running Docker.
This host contains many running containers that use many various base images (FROM), such as ubuntu, alpine, java:8...
This host also ...
2
votes
1answer
28 views
How to find out if there is a package with certain command in AlpineLinux?
Specifically I'm trying to find out what pakage I have to install in order to get disown command in docker based on Alpine Linux? Moreover it would be nice if someone could enlight me how in general I ...
0
votes
1answer
21 views
Docker overrides the IP address of my own manually created bridge
I am trying to set docker up to connect all containers to my own manually created bridge (br0), I don't want docker to create or edit anything in my bridge, because I have other services which uses ...
0
votes
1answer
39 views
dockerfile tar can not read:Is a directory
These days, I made a dockerfile. The command is :
Then built the dockerfile, it showed :
tar (child): nginx-1.8.0.tar.gz: Cannot read: Is a directory
tar (child): At beginning of tape, quitting now
...
1
vote
0answers
64 views
ALSA loopback device inside docker container
I am trying to play and then record audio using ALSA inside a docker container, based on Ubuntu 16.04. Starting with a fresh container, I've tried following the example found in the official ALSA ...
0
votes
1answer
24 views
How to export JAVA_HOME in Lambda Linux Docker image?
I'm using the Lambda Linux AWS image. I'm trying to install Atlassian Bamboo that requires JAVA_HOME to be exported. I've been able to install java and verify it is installed properly. I can't get ...
1
vote
1answer
24 views
Dockerfile WORKDIR persists in the image as well
I was taking an online tutorial in order to learn about dockerfiles. There was a quiz question:
The Dockerfile WORKDIR command changes directories:
only for the rest of the Dockerfile
...
0
votes
0answers
25 views
Downloading and installing Meteor via Dockerfile
When This Dockerfile is run. It ends with returned a non-zero code: 1 in the terminal.
The following is printed in red colour:
Downloading Meteor distribution
Meteor 1.4.1.1 has been ...
0
votes
0answers
12 views
Resolve path to file in curl command
Reading this Dockerfile . line 26:
$(<.node_version.txt) in node-$(<.node_version.txt)-linux-x64.tar.gz
The location of .node_version.txt is appDir/.meteor/local/build/.node_version.txt ...
2
votes
1answer
38 views
Docker file fail to cd into a directory
Using this this Dockerfile , line 21 gives the error:
/bin/sh: 1: cd: can't cd to /home/meteorapp/meteorapp/app
Any idea how to go about fixing this?
0
votes
1answer
23 views
convert Dockerfile ADD to linux cp
Reading this Dockerfile . line 9:
ADD . ./meteorapp
I am trying to execute this command on the ubuntu terminal manually thus to understand the effect of each line.
Does it translate to:
#cp . /...
0
votes
1answer
36 views
debconf error messages from apt-get install line in Dockerfile
I am learning about Dockerfile and had not worked with curl before.
When running this Dockerfile . The terminal output gives:
And then:
Googleing around tells me that there was an ...
1
vote
1answer
24 views
Help me understand variable place holder for curl command in Dockerfile
I am learning about Dockerfile and had not worked with curl before.
I am trying to understand line 26 in this Dockerfile .
&& bash -c 'curl "https://nodejs.org/dist/$(<.node_version....
1
vote
0answers
32 views
How to achieve processor affinity in containers?
I see with kubernetes it's possible to set node affinity for certain workloads. I'm wondering if there are any facilities in the various container technologies, such as docker, rocket etc that allow ...
0
votes
0answers
16 views
Https server in Dock
I have a problem about how to deploy https server in docker. It failed to access the content due to SSL error. And then I did an experiment to test SSL function in docker container. The experiment is ...
0
votes
0answers
14 views
Best way to have multiple instances of a program?
I want to run multiple instances of a program such as Firefox. I realize that -no-remote exists to let me to do that, but because I am using mozilla.cfg which is my personalized configuration file ...
0
votes
0answers
41 views
System freezes when I docker-compose up with chrome open in Ubuntu 16.04
My system specs:
Ubuntu 16.04
docker 1.12.1 (client & server)
docker-compose (1.8.0)
google-chrome (53.0.2785.116)
I have tried using several window managers (unity, awesome, gnome 3) and it ...
0
votes
0answers
50 views
Docky doesn't start in Arch Linux
I have installed Arch on my laptop, Asus K53 SV, and here is a little bit information
After installing Arch I have installed docky, and it did appeared in the menu, but when I click on its symbol, ...
1
vote
1answer
180 views
iptables limit inbound connections to Docker container
Running an Ubuntu 16.04 server with Docker Engine (latest version 1.12.1) and a Docker image/container based on Ubuntu 16.04 as well.
I need to limit (on a specific port using TCP) both:
the number ...
0
votes
0answers
26 views
Cyrillic in filename results in ???? marks in Docker console
I use Docker version 1.12.1 on Ubuntu 14.04.
I've got some files with Cyrillic in its name.
When I am listing them in console, cyrillic letters are shown as "?":
root@fde1561b127f:~/openface/...
0
votes
1answer
39 views
python3 lib installed but no binary?
Default installation of dist Ubuntu 16.04 has /usr/lib/python3 installed but nothing inside of /usr/bin nor /usr/local/bin.
Why would they include a lib folder with python3 and python2 without ...
0
votes
0answers
79 views
Docker with Alpine Linux with Ioncube Loader and PHP 5.6 / 7
I tried two different Docker images alpine:edge with PHP7.0.10 (ionCube Loader Beta8) and alpine:3.4 with PHP 5.6.25 (ionCube 5.1.2, ioncube_loader_lin_5.6.so).
I figured so far that PHP7 needs to be ...
2
votes
1answer
26 views
Parallel caused this “error mustOpen: Can't open - to read: No such file or directory”
I tried to use parallel command in the following way
cat asm.contig.fasta | parallel -k --block 1k --recstart '>' --pipe 'blat -t=dnax -q=prot - ../swissprot.fasta out{#}.psl -noHead'
but ...
0
votes
1answer
40 views
Install specific version of Git in Docker image
I'd like to fix Git version used in my image to the 2.9.3.
However, when I run
RUN apt-get install git=2.9.3 -y
it doesn't work:
Version '2.9.3' for 'git' was not found
How to correctly specify ...
0
votes
0answers
122 views
Running Privileged commands inside Dockerfile itself
I need to run a container in privileged mode to run some commands such as autofs service etc. This is Ok but what if i need to run that command while writing a Dockerfile? Is there any such option ...
2
votes
0answers
165 views
How to run systemd services in Arch Linux Docker container?
There seems to be tons of different ways people have been able to run systemd services within Docker containers. The latest example of direct advice I've found is to run Docker with --volume=/sys/fs/...
1
vote
1answer
179 views
Enable a Plugin for Oh my Zsh in Docker
I trying to install the symfony2 and git plugin for zsh in my docker container.
FROM php:7-fpm
# Install Packages
RUN apt-get update && apt-get install -y vim zsh git
RUN docker-php-ext-...
1
vote
1answer
93 views
Docker - Give a variable to docker-compose
I have a docker-compose.yml
php-fpm:
build: ./php
container_name: php-fpm-symfony
links:
- db
ports:
- 9000:9000
- 8000:8000
working_dir: /var/www/html/
...
1
vote
1answer
53 views
Docker hosts not talking to each other
I am testing docker and was going through many documentations, but I'm still not able to connect them together. I have a shell script to test it, but I don't get the connection between those running.
...
2
votes
0answers
51 views
Remount / in docker or change mount options
Is there a way to control the way a container's root fs is mounted? Mine is using devicemapper + xfs on CentOS 7 and I need to pass it the "inode32" flag. "mount -o remount" doesn't work (no ...
0
votes
1answer
60 views
Why Docker official images are using an Operating System
Docker containers does not need an operating system and a hypervisor because they use the host kernel. So why all of the official images like: php, nginx, .. whatever are using an operating system in ...
2
votes
1answer
24 views
“Delete on write” with devicemapper and Docker
The current default behavior of Docker is COW (copy on write), aka allocate on write. This relies on free space in a drive in order to write to disk.
In contrast - with memory, unreferenced files are ...
2
votes
0answers
35 views
Problem with Docker push
I am trying to push an image to docker-hub to my own repo. After logging in with my credentials, the upload starts normally; the size is 13GB. The process finishes with no error message, but there is ...
1
vote
2answers
164 views
About ulimit/setrlimit and cgroup
I know those two mechanisms (I name it A and B) limit the resouce for a process.
I want to know the cooperation of those two.
If A limit a resouce for a process, then what happen when B also limit ...