how can I find docker image with specific tag in docker registry in docker command line?

I try to locate one specific tag for docker image, how can I do it in command line ? I try to avoid to download all and remove unneeded images. In official Ubuntu release https://registry.hub.docker.com/_/ubuntu/ there are several tags (release for it), while when I search it in command line user@ubuntu:~$ docker search ubuntu | […]

Memory usage of Docker containers

I am using Docker to run some containerized apps. I am interested in measuring how much resources they consume (as far as regarding CPU and Memory usage). Is there any way to measure the resources consumed by Docker containers like RAM & CPU usage? Thank you.

Why is docker image eating up my disk space that is not used by docker

I have setup docker and I have used completely different block device to store docker’s system data: [root@blink1 /]# cat /etc/sysconfig/docker # /etc/sysconfig/docker other_args=”-H tcp://0.0.0.0:9367 -H unix:///var/run/docker.sock -g /disk1/docker” Note that /disk/1 is using a completely different hard drive /dev/xvdi Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.8G 5.1G 2.6G 67% / devtmpfs 1.9G […]

/var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

I am very new to the docker when try to run docker info it gives me following error. $ docker info FATA[0000] Get http:///var/run/docker.sock/v1.17/info: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? I am using ubuntu 14.04. I followed the installation istructions mentioned on […]

How to pass arguments within docker-compose?

Docker 1.9 allows to pass arguments to a dockerfile. See link: https://docs.docker.com/engine/reference/builder/#arg How can i pass the same arugments within docker-compose.yml?? Please provide an example too, if possible.

How to install docker specific version

How to install specific version of Docker(like 1.3.2)? I am unable to find any documentation in docker official docs. Referring this link for Ubuntu. Following instructions install docker version 1.0.1: $ sudo apt-get update $ sudo apt-get install docker.io Also, following instructions install latest version of docker 1.4.1: $ sudo sh -c “echo deb https://get.docker.com/ubuntu […]

Should I use Dockerfiles or image commits?

I’m a little bit confused about these two options. They appear to be related. However, they’re not really compatible. For example, it seems that using Dockerfiles means that you shouldn’t really be committing to images, because you should really just track the Dockerfile in git and make changes to that. Then there’s no ambiguity about […]

How does docker compare to openshift?

Docker and OpenShift are both frameworks to implement a PaaS service. How do they compare in architecture and features?

Setting the hostname for a container running in Kubernetes

I want to set the hostname in a container running inside Kubernetes, but Kubernetes appears to be overriding whatever I set at runtime. I’ve tried both setting /etc/hostname in the docker image I’m having Kubernetes use, and including echo “host.example.com > /etc/hostname” in the CMD in the Dockerfile. There appears to be a docker flag […]

The command '/bin/sh -c returned a non-zero code: 127

I’m new to docker so I might be doing this wrong, but I’m trying to install Tomcat6 through a Dockerfile which like this: FROM rhel7:latest RUN cd /tmp RUN “wget”, “http://www.us.apache.org/dist/tomcat/tomcat-6/v6.0.44/bin/apache-tomcat-6.0.44.tar.gz” RUN tar xzf apache-tomcat-6.0.44.tar.gz RUN mv apache-tomcat-6.0.44 /usr/local/tomcat6 RUN cd /usr/local/tomcat6 Run ./bin/start.sh Its failing on the 3rd line with the: RUN “wget”, “http://www.us.apache.org/dist/tomcat/tomcat-6/v6.0.44/bin/apache-tomcat-6.0.44.tar.gz” […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.