Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

I created a Docker container, but now I need /dev/shm as a tmpfs mounted inside of the container. If I manually change the config.lxc file in the Docker folder and uncomment the mount /dev/shm line, ...
user61664's user avatar
  • 113
110 votes
5 answers
99k views

According to the Docker documentation, to build your own image, you must always specify a base image using the FROM instruction. Obviously, there are lots of images to choose from in the Docker index,...
Flimm's user avatar
  • 154k
6 votes
1 answer
429 views

I created a docker container, and then I created a file and exited the container. When I restart the container with: docker run -i -t ubuntu /bin/bash the file is nowhere to be found. I checked /...
user2678188's user avatar
15 votes
5 answers
25k views

I read an article that SSH Daemon Service. But I want to run on Centos6.4. So I setup from official centos image with almost same istruction. Then I connect to centos sshd server, but connection is ...
cpw's user avatar
  • 349
24 votes
2 answers
8k views

I am a total noob to linux containers and been spending some time learning about Docker, and forgive my confusion thought this question. Currently, I have a Rails app in production deployed via ...
Jahkobi Digital's user avatar
2 votes
2 answers
8k views

After git clone from dotcloud/docker cd docker sudo make VERBOSE=1 Fetching https://net/http/cookiejar?go-get=1 https fetch failed ** unrecognized import path "net/http/cookiejar" Can any one ...
pradeep's user avatar
  • 747
35 votes
4 answers
49k views

I'm trying to use the Docker API to connect to docker daemon from another machine. I am able to do this command successfully: docker -H=tcp://127.0.0.1:4243 images But NOT when I use the real IP ...
Victor L's user avatar
  • 10.3k
420 votes
5 answers
111k views

If you take a look at Docker's features, most of them are already provided by LXC. So what does Docker add? Why would I use Docker over plain LXC?
Flimm's user avatar
  • 154k
36 votes
4 answers
23k views

Using docker, you can create images based on other images very nicely. For instance, you can make an image Java-jdk7 (based on the latest Ubuntu LTS), and based on that create images elastic-search ...
qkrijger's user avatar
  • 27.4k
6 votes
4 answers
6k views

One of the Docker examples is for a container with Memcached configured. I'm wondering why one would want this versus a VM configured with Memcached? I'm guessing that it would make no sense to have ...
bhartsb's user avatar
  • 1,356
352 votes
15 answers
260k views

I was naively expecting this command to run a bash shell in a running container : docker run "id of running container" /bin/bash it looks like it's not possible, I get the error : 2013/07/27 20:00:...
Boutran's user avatar
  • 10.2k
32 votes
5 answers
25k views

the command : docker build -t nginx-ubuntu . whith the Dockerfile below : FROM ubuntu:12.10 RUN apt-get update RUN apt-get -y install libpcre3 libssl-dev RUN apt-get -y install libpcre3-dev RUN ...
Boutran's user avatar
  • 10.2k
15 votes
3 answers
12k views

I have an embedded system development image contained in a Docker file. In order to flash the code I need to connect to the nodes via USB Serial (e.g. /dev/ttyACM0). With Docker I used the new bind ...
till's user avatar
  • 620
282 votes
11 answers
365k views

Is it possible to have a Docker container access ports opened by the host? Concretely I have MongoDB and RabbitMQ running on the host and I'd like to run a process in a Docker container to listen to ...
JoelKuiper's user avatar
  • 4,820
2 votes
1 answer
2k views

I'm trying to run a command in a docker container using Java's ProcessBuilder. However, it hangs when waiting for exit code. Why is that? ProcessBuilder processBuilder = new ProcessBuilder(Arrays....
Victor L's user avatar
  • 10.3k
50 votes
1 answer
17k views

I would love to be able to use docker outside of Vagrant in OSX. Right now this is not possible. What are the specific reasons causing it not to be limited for linux installations only?
Mihai Oprea's user avatar
  • 2,057
369 votes
11 answers
445k views

I am able a build a Dockerfile like docker build -t deepak/ruby . But for a Dockerfile which is not named Dockerfile # DOCKER-VERSION 0.4.8 FROM deepak/ruby MAINTAINER Deepak Kannan "deepak@...
deepak's user avatar
  • 8,300
15 votes
4 answers
34k views

For me this is a very standard setup, I had a ubuntu machine running docker and ufw as my firewall. If my firewall is enable the docker instances is unable to connect to outside $ docker run -i -t ...
Mario César's user avatar
  • 3,755
41 votes
4 answers
73k views

I'm familiar with LXC and wanted to try out docker. The issue I'm facing is that I can't find a way to just tell docker to start a container in the background, without executing a command. For example,...
rmonjo's user avatar
  • 2,735
1500 votes
67 answers
963k views

This question is related to Should I be concerned about excess, non-running, Docker containers?. I'm wondering how to remove old containers. The docker rm 3e552code34a lets you remove a single one, ...
qkrijger's user avatar
  • 27.4k
0 votes
0 answers
414 views

I created this script according to docker.io installation instructions for Ubuntu 13.04 with 3.8+ kernel, but script is interrupted as lxc-docker installation fihishes. ssh -o StrictHostKeychecking=...
Martin V.'s user avatar
  • 3,750
158 votes
5 answers
14k views

Every docker run command, or every RUN command inside a Dockerfile, creates a container. If the container is no longer running it can still be seen with docker ps -a. Should I be concerned with ...
velo9's user avatar
  • 2,345
10 votes
2 answers
12k views

I am trying to build a docker image by using the ones in the repository however i haven't been able to run 'apt-get update' 'apt-get install' commands because it seems that the container is not ...
sarslanhan's user avatar
9 votes
1 answer
3k views

I just started playing around with Docker.io. Its a great platform for sure. I have an issue i need some help with. I ran a medium instance on ec2 setup docker. Now i want to run 2 wordpress blog ...
Hareem Haque's user avatar
78 votes
7 answers
70k views

Docker and OpenShift are both frameworks to implement a PaaS service. How do they compare in architecture and features?
w00t's user avatar
  • 18.3k