Redirecting command output in docker

I want to do some simple logging for my server which is a small Flask app running in a Docker container. Here is the Dockerfile # Dockerfile FROM dreen/flask MAINTAINER dreen WORKDIR /srv # Get source RUN mkdir -p /srv COPY perfektimprezy.tar.gz /srv/perfektimprezy.tar.gz RUN tar x -f perfektimprezy.tar.gz RUN rm perfektimprezy.tar.gz # Run server EXPOSE […]

is it possible to run virtualbox inside a docker container

I tried running the container in privileged mode, but still the vboxdrv cannot be loaded. I get WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.11.0-22-generic) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup You will […]

What are <none> repository and tags? Why do they appear when I use docker build?

This is what docker images shows before I run docker build. $ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE myapp latest a38da0bd9e0b 6 seconds ago 523.8 MB golang onbuild b4997c557048 10 days ago 517.2 MB After I make some changes to the myapp source code, I run docker build -t myapp . and […]

Connect to Windows 10 Docker daemon from ubuntu bash

What I’m trying to do is fairly non-standard, so I’m not sure how successful I’m going to be. I’ve installed “Docker for Windows”, and I’m able to use it fine from Powershell. I would like to be able to use a proper linux environment though, so I’ve installed the new Ubuntu Bash prompt for Windows […]

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 […]

HDP 2.5 Hortonworks ambari-admin-password-reset missing

I have downloaded the sandbox from hortonworks (Centos OS), then tried to follow the tutorial. It seems like the ambari-admin-password-reset command is not there and missing. I tried also to login with putty, the console asked me to change the password so I did. now it seems like the command is there, but I have […]

Using Docker for a mail server

I’ve been interested in docker for a while, but not jumped in yet. I have a need to set up a mail server, so thought maybe I could use this as a reason to learn more about docker. However, I’m unclear how to best go about it. I’ve installed a mailserver on a VPS before, […]

Starting new Docker container with every new Bamboo build run and using the container to run the build in

I am new to Bamboo and are trying to get the following process flow using Bamboo and Docker: Developer commits code to a Bitbucket branch Build plan detects the change Build plan then starts a Docker container on a dedicated AWS instance where Docker is installed. In the Docker container a remote agent is started […]

Links between containers not working with docker-compose version 2

Linking between containers in a version 2 docker-compose file is not working. Only when using the ‘old’ version 1 format, I do see the link in /etc/hosts of the container. I have the following basic version 2 docker-compose.yml file. version: ‘2’ services: my-app: image: tomcat:8.0 container_name: my-app1 links: – my-redis my-redis: image: redis container_name: my-redis1 […]

Docker apps logging with Filebeat and Logstash

I have a set of dockerized applications scattered across multiple servers and trying to setup production-level centralized logging with ELK. I’m ok with the ELK part itself, but I’m a little confused about how to forward the logs to my logstashes. I’m trying to use Filebeat, because of its loadbalance feature. I’d also like to […]

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