Tag: ubuntu

Error getting authority in Ubuntu SDK Docker image

I want to run the Ubuntu SDK (Qt Creator variant) from a Docker image. It’s working very nice, except when I try to use the emulator or a real phone/device. This requires to install a new Kit (armhf, i386) which fails with the following error inside a Run Click window. Error getting authority: Error initializing […]

Running chrome inside docker container issue

We are working on a stack that involves running google chrome extensions inside docker containers. The setup works flawless for less number of containers(around 10-15). However as this number is increased I randomly see a few containers where chrome has failed to start. After getting hold of the log files this is what I managed […]

docker apt-get multiple gets (can it be reduced?)

I am living in The Netherlands and so with each apt-get update, that’s why I got also translations of the program to Dutch. The trouble is that there are many gets needed to achieve a full list of packages that needed to be updated. How can I reduce these many (apparently most are the same) […]

Nginx Docker build failing on Ubuntu

My Docker build is failing: sudo docker build -t nginx_img_1 . W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages 404 Not Found [IP: 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-amd64/Packages 404 Not Found [IP: 80] Why is this not working? I cannot find the correct location on the http://archive.ubuntu.com/ubuntu/dists/ website. When I google for binary-amd64 site: archive.ubuntu.com, […]

crontab not running in docker container shell

I have a docker container running an instance of Ubuntu 14.04 on an EC2 instance, same OS. In the docker container shell, in crontab -e, I have the following line: root echo “cron is running” >> /log.log 2>&1 For some reason, it won’t run or write to the log file. The same crontab file works […]

Boot2Docker Image (Ubuntu) Download Very Slow on Windows 8.1

I’ve just installed boot2docker on Windows 8.1 Trying to run : docker run ubuntu /bin/echo ‘hello world’ Download ubuntu image takes a very long time. I have 9 mbps download speed but after waiting for 10 mins, still it downloaded only following : 4.324 MB/ 65.77 MB 1.621 MB/ 65.77 MB 1.080 MB/ 65.77 MB […]

Running Docker Commands with a bash script inside a container

I’m trying to automate deployment with webhooks to the Docker hub based on this tutorial. One container runs the web app on port 80. On the same host I run another container that listens for post requests from the docker hub, triggering the host to update the webapp image. The post request triggers a bash […]

How to pass host variables to Docker in Elastic Beanstalk?

My Application needs to have access to the environment variables set in the config console in Elastic Beanstalk. How can i pass those to my docker container?

Troubleshoot docker connectivity to external network

This was a DNS server issue — the default server (as pre-configured in Docker in Ubuntu) could be pinged but not reached via nslookup. I’m having trouble to connect to the internet from a container on my local installation. My system ifconfig looks fine $ docker run -ti twelly/ifconfigme ifconfig eth0 Link encap:Ethernet HWaddr […]

Some docker containers don't start on system boot

I’m using docker restart policies on my containers (–restart=always) running on Ubuntu 14.04. Example containers: docker run -d –restart=always redis:2.8 docker run -d –restart=always postgres:9.4 When I reboot the machine the postgres container starts automatically but the redis container does not. Is this a problem with docker restart policies or am I missing something? Edit: […]

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