We can use docker to pull different images. And these images are different linux distribution. But no matter which linux distro docker run on, docker can run these different linux distribution jsut like in a virtual machine. I know docker use aufs to control diffrent read-write access level. So it can reuse some file on […]
I have a physical host machine with Ubuntu 14.04 running on it. It has 100G disk and 100M network bandwidth. I installed Docker and launched 10 containers. I would like to limit each container to a maximum of 10G disk and 10M network bandwidth. After going though the official documents and searching on the Internet, […]
I’m trying to setup a private docker registry using the image taken from: https://github.com/docker/docker-registry Just by running: docker run -p 5000:5000 registry I can pull/push from/to this repository only from localhost, but if i try to access it from another machine (using a private address on the same LAN) it fails with an error message: […]
I am newbie to the world of virtualization. Can some one explain to me the differences between OpenVZ and Docker? What could be good for the future? Pros and cons?
I can’t find how to manage images in a private registry. I can push or pull an image because i know the id but how to get the list of pushed images ? Take for example a person who wants to see the available images under the private registry of his organization. How can she […]
As the title says. I need to be able to retrieve the IP address the docker hosts and the portmaps from the host to the container, and doing that inside of the container.
Here’s my understanding of docker compose: You can “scale” a service to run it in multiple containers at once. If you link service A to service B, service A has access to a container running service B. Is my understanding correct, and if so, where does a link connect if there are multiple containers running […]
I have a docker image which installs grunt, but when I try to run it, I get an error: Error response from daemon: Cannot start container foo_1: \ exec: “grunt serve”: executable file not found in $PATH If I run bash in interactive mode, grunt is available. What am I doing wrong? Here is my […]
I need create rails and mysql containers with docker-compose when i try create links containers with docker-compose up i get Cannot start container 9b271c58cf6aecaf017dadaf5b Cannot link to a non running container: /puma_db_1 AS /puma_web_1/db Files Dockerfile FROM ubuntu:14.04 RUN apt-get -y update RUN apt-get -y install git curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 […]
I’m using a docker image which was built using the USER command to use a non root user.called dev. Inside a container, I’m “dev” but I want to edit /etc/hosts file. So I need to be root. I’m trying the su command but I’m asked to enter the root password. What’s the default root user’s […]