Questions tagged [docker]
Docker - An open platform for distributed applications for developers and sysadmins.
1,919
questions
105
votes
3
answers
100k
views
Docker containers have their own kernel or not?
I see that a lot of docker images in the docker repository are made with an Ubuntu base.
What does that mean? Does each container bundle a stripped down version of the Linux kernel?
Do containers ...
-2
votes
1
answer
2k
views
Systemd docker container service does not work with CentOS 7
Here is the service (/etc/systemd/system/docker-mysql.service):
[Unit]
Description=MySQL container
Author=Me
After=docker.service
[Service]
User=root
Restart=on-failure
RestartSec=10
ExecStart=/bin/...
1
vote
1
answer
1k
views
Redirect web socket connections to newly created docker container with nginx
I created a Docker image which exposes a certain port, and listens for a single web socket connection.
Is it possible to configure nginx in a way, so that for each new incoming web socket connection, ...
5
votes
2
answers
4k
views
SSH reverse tunnel into Docker container
I need to xdebug something that fails on the server in a docker container and from my laptop I have ran ssh -R 9000:localhost:9000 server and verified the tunnel by telnet localhost 9000. So far so ...
10
votes
1
answer
6k
views
Docker port expose fails in Mac OS X
First off I went through tutorial and started flask app from tutorial in container. It did worked.
seraf$ docker run -d -P training/webapp python app.py
Then I found my virtual machine’s ip with
...
13
votes
1
answer
24k
views
How to install python-pip in CentOS7 Docker Container
I am trying to build a docker container that includes pip.
I am on CentOS 7.
Here is the fragment from running the docker build command:
Step 3 : RUN yum -y install python-pip
---> Running in ...
2
votes
2
answers
1k
views
How to create a Docker image from scratch?
I want to create a Docker image which contains Java and PostgreSQL. I just want to create an Image to reuse it from anywhere.
From reading the documentation I don't understand how I can do that.
...
0
votes
2
answers
645
views
permission issue with docker and pipework
I have issue using Docker with pipework for more advanced networking settings:
pipework eth2 $(docker run -d hipache /usr/sbin/hipache) 50.19.169.157/24
sudo: pipework: command not found
sudo ...
2
votes
1
answer
739
views
How to install Eclipse using the terminal in Ubuntu 14.04?
I used the following commands inside docker in the following order
docker run ubuntu apt-get update
docker run ubuntu apt-get install eclipse-platform
docker run ubuntu eclipse
After which I get the ...
5
votes
2
answers
2k
views
Can I get vim to install bundles and close in the background?
I've been playing around with Dockerfiles, and in setting up a development environment, there is one manual step I haven't been able to work around yet. To install the bundles in my vimrc, I have to ...
3
votes
1
answer
4k
views
Can I run Docker on Ubuntu 12.04 (Precise)?
I’m looking to implement a PoC of Docker for a project, but only have machines available that run Ubuntu 12.04 (Precise). I’m not sure the kernel version is up-to-date enough to run Docker.
What ...
5
votes
1
answer
229
views
Docker workflow with multiple packages and shared sources
Let's say I want to use Docker for an app, which consists of two parts. These parts are different, but they have some shared libraries.
So, I have two folders:
part1/
Dockerfile
src/
part2/
...
2
votes
1
answer
963
views
MySQL data on ramdisk partition
I'm using Docker with Ubuntu for my CI and development environment. I would like to put the database on a ramdisk partition to speed up the builds, since I have to reload my fixtures a lot, so data ...
2
votes
1
answer
696
views
Tools cannot connect to ElasticSearch
I have ElasticSearch running in a docker container with an exposed 9200 port.
I can access it using the browser and using curl on http://192.168.59.103:9200/ (I get the You Know, for Search response), ...
5
votes
2
answers
16k
views
How do I know if two machines are on same LAN?
I am very poor with Computer Networks, even though I took class in my grad school.
I keep forgetting about subnets and masks and what not!
Currently, I am playing with Docker and Erlang and was ...