Tag: ubuntu

Some exposed Docker ports are not accessible from outside (dovecot, postfix)

this is driving me nuts, but for some reason, I cannot access certain ports from outside. I’ve checked almost every possible setting, but I have no idea why this is not working. I have no idea where to fix this issue (Ubuntu firewall vs. Docker vs. Dovecot vs. Postfix) and I’m really hoping that you […]

Unable to start Docker Service in Ubuntu 16.04

I’ve been trying to use Docker (1.10) on Ubuntu 16.04 but installation fails because Docker Service doesn’t start. I’ve already tried to install docker by docker.io, docker-engine apt packages and curl -sSL https://get.docker.com/ | sh but it doesn’t work. My Host info is: Linux Xenial 4.5.3-040503-generic #201605041831 SMP Wed May 4 22:33:50 UTC 2016 x86_64 […]

Can not start docker on lubuntu “cannot start container: exec format error”

sudo apt-get install docker.io in my lubuntu 14.10, but it says cannot start container when I run this: sudo docker run ubuntu echo “Hello World” exec format error2015/03/16 16:31:16 Error response from daemon: Cannot start container ad265ac9c2635f42e4244472d181a2121ecba4d855fa33c10599d91aa932d2cd: exec format error Can not find out the answer, guest it maybe related with the lubuntu. The container […]

systemd and systemctl within Ubuntu Docker images [closed]

It seems systemd is not active or available in Ubuntu Docker images. I’m running Docker containers from the ubuntu:16.04 and ubuntu:16.10 images. If I execute systemctl status ssh in the 16,04 container the result is the error Failed to connect to bus: No such file or directory. In the 16.10 container the error is bash: […]

Configure sendmail inside a docker container

I have a docker container running php and apache. The host is in an AWS instance which has the docker instance running. I am unable to send an email from the docker terminal. Is there any way to send an email from docker instance using sendmail which uses the docker’s host’s configuration? The following command […]

DOCKER_OPTS do not work in config file /etc/default/docker

I have changed /etc/default/docker with DOCKER_OPTS=”-H tcp:// -H unix:///var/run/docker.sock” (docker version 1.4.1 in ubuntu 14.04), but it do not take any effect for me (not listening at port 2375). It seems that docker do not read this initial config file because I found export http_proxy enviroment do not work too. Only sudo docker -H tcp:// […]

Docker opens up a tiny new window that does nothing

This is related to a previous question- Under Ubuntu 12.04 when I run any docker command like: sudo docker pull ubuntu The focus is lost from my terminal and a tiny (barely noticeable) new window opens up. When I expand the window there is nothing in it (just blackness). When I close it I get […]

Docker-Compose can't connect to Docker Daemon

I am getting an error message saying I can’t connect to the docker daemon. I have looked into other people’s answers who have had similar issues but it hasn’t helped. I am running Ubuntu 15.10. I will try to provide all the info I have. root@devinduval-Dell-System-XPS-15Z:/home/devinduval/projects/polaris/polaris-proj-all# docker-compose -f docker-compose-deps.yml up -d ERROR: Couldn’t connect to […]

Issues running cron in Docker on different hosts

Im trying to get a docker container running to mange my cronjobs im running a very simple cron as a test in a docker container using centOS 6.5 base * * * * * /bin/echo “it works!” >> test.log it works fine if the container is running on CoreOS host, however if I run the […]

prior storage driver “aufs” failed: driver not supported Error starting daemon: error initializing graphdriver: driver not supported

When a try to run docker locally in ubuntu 14.04 when i run this line in the console: sudo docker -d The console show me this error: Warning: ‘-d’ is deprecated, it will be removed soon. See usage. WARN[0000] please use ‘docker daemon’ instead. ERRO[0000] [graphdriver] prior storage driver “aufs” failed: driver not supported FATA[0000] […]

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