Tag: postgresql

Docker FATAL: could not write lock file “postmaster.pid”: No space left on device

postgres:9.5 I try rebooting, docker-compose build –no-cache delete image and container and build again I have many proyects and anybody starts, keeps the same configuration… Mac osx Sierra Apparently the containers were not deleted well, I tried with this and after rebuild works ok. # Delete all containers docker rm $(docker ps -a -q) # […]

Docker compose getting stuck

I’m quite new with Docker and I’m trying to use docker-compose in order to set up Apache with PostgreSQL all together. This is my docker-compose.yml: version: ‘2’ services: db: image: postgres apache2: image: webdevops/apache:latest ports: – 8084:80 – 443:443 links: – db And every time I execute docker-compose up, it usually gets stuck in AH00094: […]

How to add postgresql library pgroonga when make docker compose?

How to add postgresql library pgroonga when make docker compose? I want to add dockerization to my current Rails project. It’s using PosrgreSQL database and pgroonga library. The docker official PostgreSQL registry can been used so I choosed it. About my Rails application, I customsed the image. The problem is that when I use docke-compose […]

Creating multiple PostgreSQL containers in docker in fedora

I want to create 2 containers of postgrSQL so that one can be used as DEV and other as DEV_STAGE. I was able to successfully create one container and it is been assigned to port 5432. But when I’m trying to the second container, it is getting created(sometimes shows the status as EXITED) but not […]

How to recreate Docker container?

I’m new to docker and I’m using docker compose. For some reason my postgres container is now broken I’m trying this command docker-compose up –no-deps –build db And it’s returning me this: MacBook-Pro-de-Javier:goxo.api javier$ docker-compose up –no-deps –build db Recreating testapi_db_1 Attaching to testapi_db_1 db_1 | LOG: database system was shut down at 2017-04-20 17:19:05 […]

Starting Postgres in Docker Container

For testing, I’m trying to setup Postgres inside of a docker container so that our python app can run it’s test suite against it. Here’s my Dockerfile: # Set the base image to Ubuntu FROM ubuntu:16.04 # Update the default application repository sources list RUN apt-get update && apt-get install -y \ python2.7 \ python-pip […]

Docker cannot establish connection with postgresql in Travis CI

I’m trying to integrate Travis CI into my rails app. Everything works fine on my local machine(ubuntu, windows), but on travis host there is a connection error. So, here are my configurations. .travis.yml: sudo: required language: ruby services: – docker env: DOCKER_COMPOSE_VERSION: 1.13.0 before_install: – sudo rm /usr/local/bin/docker-compose – curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > […]

Docker> postgresql9.6 error

I am using docker to install postgresql 9.6 from centos7 image. I got an error while initialize the postgresql and also problem with this service. sh-4.2# usr/pgsql-9.6/bin/postgresql96-setup initdb Failed to get D-Bus connection: Operation not permitted failed to find PGDATA setting in postgresql-9.6.service sh-4.2# systemctl start postgresql-9.6.service Failed to get D-Bus connection: Operation not permitted

Confluence Error 500 while setup

I’ve got an Error 500 while trying to setup Confluence saying the bean i18NBean was not found. I’am running a debian Jessie and I try to install confluence in a docker container following this turotial This error occurs always when I hit the “database setup step” while confluence trys to setup the database. The weird […]

Connecting local psql db with web app inside the docker container

I am new to docker and know basic things. I have postgresql installed on my local Ubuntu server and i want to connect it with the web application which is inside of the docker container. What setting should I apply to allow that?

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