Tag: ubuntu

Docker daemon start error on ubuntu 12.04

I followed all steps given in the installation guide for Ubuntu 12.04 But, it fails when starting the docker daemon: ~ sudo docker -d [sudo] password for prat0318: 2014/06/10 02:26:34 docker daemon: 1.0.0 63fe64c; execdriver: native; graphdriver: [29daee74] +job initserver() [29daee74.initserver()] Creating server [29daee74] +job serveapi(unix:///var/run/docker.sock) 2014/06/10 02:26:34 Listening for HTTP on unix (/var/run/docker.sock) Error […]

How to bind a shared directory from container to host in Docker

I already installed Docker on Ubuntu successful. So, next step, I will install a new program on this container. The requirement is bind a config folder that contain some essential config files from the container to the host. I tried to use the command to map the shared directory between container and host in Docker […]

How is a data-only container in Docker getting data?

I’m new to Docker and have read a lot about data-only container the last days. But I still have a question of understanding, how it works. 🙂 I have an app container (where the app is running) and an app-data container (where the files of the app are stored). The app-data volume is created by […]

cassandra error keyspace does not exist

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘JournalActions’: Invocation of init method failed; nested exception is com.datastax.driver.core.exceptions.InvalidQueryException: Keyspace ‘audit’ does not exist at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) […]

Python Tkinter in Docker .TclError: couldn't connect to display

I am new to python and am trying to build a small app. It needs to be a GUI app and I was wanting to containerise it with docker. I am getting the following error and can not find a solution No protocol specified No protocol specified Traceback (most recent call last): File “tkinker.py”, line […]

How does docker map host partitions?

I’m relatively new to docker, and when I started a container (an ubuntu base image), I noticed the following: On the host, $ df -h … /dev/sdc1 180M 98M 70M 59% /boot /dev/sdc2 46G 20G 24G 46% /home /dev/sdc5 37G 7.7G 27G 23% /usr /dev/sdc6 19G 13G 5.3G 70% /var $ lsblk … sdc 8:32 […]

Accessing apache2 residing inside Docker container from Host machine web browser

I have been creating a webserver as Docker container and trying to access it outside the container. But I can’t. What I am doing is. -Pulling a ubuntu image: docker pull ubuntu:14.04 -Starting a container: docker -t -i -p 49200:2375 [image-id] and after installing apache2 in newly started container I can ping the apache2 server […]

Can I Run docker on linux mint 13? [closed]

I’ve tried to install docker on my machine, following the instructions for Precise 12.04 found here. When I try: curl -sSL https://get.docker.com/ | sh I get the result: Either your platform is not easily detectable, is not supported by this installer script (yet – PRs welcome! [hack/install.sh]), or does not yet have a package for […]

Connect Symfony project to docker database

I’m currently working on a project, that works with bag-files. Therefore I’m using a tool called bag-database(https://github.com/swri-robotics/bag-database), where the database is running as two docker containers. I followed the instructions on the site really closely and got it up and running on port 8080. The other container is running on port 5432. So now I’m […]

CLion in docker container not finding clang after install

I have created the following Dockerfile: FROM ubuntu:14.04 RUN apt-get update -y && apt-get install \ clang-3.5 \ wget \ libxi6 \ libxrender1 \ libxtst6 -y && \ mkdir ~/clion && \ cd ~/clion && \ wget \ -P ~/clion \ https://download.jetbrains.com/cpp/clion-1.2.4.tar.gz && \ tar xfz clion-*.tar.gz CMD /root/clion/clion-1.2.4/bin/clion.sh I build the image with docker […]

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