Which Docker base image should be used to install Apps in a container without any additional OS?

I am running a Docker daemon on my GUEST OS which is CentOS. I want to install software services on top of that in an isolated manner and I do not need another OS image inside my Docker container. I want to have a Docker container with just the additional binaries and libraries for the […]

docker postgres pgadmin local connection

I have created an ubuntu image with nginx, php and postgres. I want to connect the postgres database in my current image with pgadmin located on my local machine. I have tried using docker inspector to try to use the image ip to make a connection with my local pgadmin but without much success. I’ve […]

Dockerized nginx is not starting

I have tried following some tutorials and documentation on dockerizing my web server, but I am having trouble getting the service to run via the docker run command. This is my Dockerfile: FROM ubuntu:trusty #Update and install stuff RUN apt-get update RUN apt-get install -y python-software-properties aptitude screen htop nano nmap nginx #Add files ADD […]

Setting up MySQL and importing dump within Dockerfile

I’m trying to setup a Dockerfile for my LAMP project, but i’m having a few problems when starting MySQL. I have the folowing lines on my Dockerfile: VOLUME [“/etc/mysql”, “/var/lib/mysql”] ADD dump.sql /tmp/dump.sql RUN /usr/bin/mysqld_safe & sleep 5s RUN mysql -u root -e “CREATE DATABASE mydb” RUN mysql -u root mydb < /tmp/dump.sql But I […]

How to deal with persistent storage (e.g. databases) in docker

How do people deal with persistent storage for your docker containers? I am currently using this approach: build the image, e.g. for Postgres, and then start the container with docker run –volumes-from c0dbc34fd631 -d app_name/postgres IMHO, that has the drawback, that I must not ever (by accident) delete container “c0dbc34fd631”. Another idea would be to […]

Docker blocking outgoing connections on high load?

We have a node.js web server that makes some outgoing http requests to an external API. It’s running in docker using dokku. After some time of load (30req/s) these outgoing requests aren’t getting responses anymore. Here’s a graph I made while testing with constant req/s: incoming and outgoing is the amount of concurrent requests (not […]

How do I run Docker on Google Compute Engine?

What’s the procedure for installing and running Docker on Google Compute Engine?

Dockerfile: Docker build can't download packages: centos->yum, debian/ubuntu->apt-get behind intranet

PROBLEM: Any build, with a Dockerfile depending on centos, ubuntu or debian fails to build. ENVIRONMENT: I have a Mac OS X, running VMWare with a guest Ubuntu 14.04, running Docker: mdesales@ubuntu ~ $ sudo docker version Client version: 1.1.2 Client API version: 1.13 Go version (client): go1.2.1 Git commit (client): d84a070 Server version: 1.1.2 […]

Can not pull/push images after update docker to 1.12

The private registry was worked well based on docker 1.10.3,but I can not pull/push images after the docker updated to 1.12.0. I had modified the /etc/sysconfig/docker as: OPTIONS=’–selinux-enabled=true –insecure-registry=myip:5000′ or OPTIONS=’–selinux-enabled=true –insecure-registry myip:5000′ but when I exec pull/push,I got this error: $ docker pull myip:5000/cadvisor Using default tag: latest Error response from daemon: Get https://myip:5000/v1/_ping: […]

docker change Ctrl+p to something else?

I am using docker run /bin/bash to develop my container and every time I want to use Ctrl+p in a terminal or in emacs, I have to type it twice, since docker uses it to detach from a container (Ctrl+p Ctrl+q). How can I change Ctrl+p to something else more convenient that is not used […]

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