Questions tagged [docker]
Docker - An open platform for distributed applications for developers and sysadmins.
1,918
questions
0
votes
0
answers
848
views
How to correctly configure iptables on a laptop?
I have run these commands (tried switching the order too) because I want to set up a firewall on my laptop so that nobody can connect to it (except of course in response to a connection I've made):
...
6
votes
1
answer
2k
views
CentOS on Docker: How to install doc files?
I’m trying to install the Kolab groupware in a Docker container based on CentOS 6.5. At first glance, the installation of the official packages seemed to work without problems. But afterwards, when I ...
81
votes
6
answers
94k
views
What's the difference between docker.io and docker?
Trying to learn docker here but I am a bit confused on what the difference is between docker.io and docker. Is docker.io the daemon server and docker the client? Why does the daemon need to run all ...
25
votes
2
answers
47k
views
How to escape "!" and "&" in docker's environment varibles
I have a docker container I want to run and hand it over some passwords. One with an exclamation mark ! and the other one with an ampersand &. So I want to run this:
docker run -i -t --rm \
-e "...
5
votes
2
answers
8k
views
Setup VPN in docker
I am working on connecting docker containers together. I have explored the options provided in docker for networking. Now I want to create a VPN kind of setup to connect docker nodes and containers. ...
10
votes
8
answers
21k
views
Add a sudoer non-interactively from command line
(On Centos through Docker)
I know that I can add a sudoer using visudo. Is there a way to add a user to the sudoer list straight from the command line, so I don't have to do it interactively?
I'm ...
2
votes
1
answer
3k
views
Vagrant (docker provider) looks for local docker in $PATH even if vagrantfile is present
I'm using a linux desktop with an 3.2 kernel (Ubuntu 12.04) and would like to test out using vagrants docker provider/provisioning.
So I make a Vagrantfile in root:
VAGRANTFILE_API_VERSION = "2"
...
12
votes
5
answers
12k
views
Running docker as sudo
I installed boot2docker and I ran:
./boot2docker start
export DOCKER_HOST=tcp://localhost:4243
I started a tutorial from the Docker site.
I don't understand one thing - when I run:
sudo docker ...
165
votes
4
answers
106k
views
What's the difference between `docker stop` and `docker kill`?
What's the difference between docker stop and docker kill?
As far as I know, both will stop a running container. Is it that docker stop attempts to stop the process run inside the container in the ...
2
votes
1
answer
131
views
In Docker, how to work with multiple test/prod build configurations
We're evaluating Docker for use in deploying our apps. What we've been unable to gleen from the Interwebs so far is how we would deal with the different runtime environments we use at our company.
...
16
votes
2
answers
22k
views
Is there any reason to use Puppet alongside with Docker? [closed]
I have tried Ops part of DevOps some time ago and it was quite fun, but I haven't time and reason to try it in any project. But last week I started new job, where boss asked me if I can configure ...
3
votes
1
answer
3k
views
How to solve "cgroup mountpoint not found for memory" with docker.io
How do I solve cgroup mountpoint not found for memory while using docker.io ?
I have ubuntu-14.04 intalled, kernel version 3.13.0-20-generic. Docker version is 0.8.1.
82
votes
4
answers
187k
views
Problems installing ping in docker
I am trying to follow the docker tutorial but in a virtual machine. I've tried to install ping in ubuntu docker container with the command
sudo docker run ubuntu apt-get install ping
The problem is ...