Skip to content

Conversation

gouravnema
Copy link

'' is making listen_addresses =' ' instead of listen_addresses = '' in ubuntu. Escaping it makes more compatible.

'*' is making listen_addresses =' ' instead of listen_addresses = '*' in ubuntu. Escaping it makes more compatible.
@yosifkit
Copy link
Member

I cannot reproduce this. What is your docker info and docker version? Are you just doing docker pull postgres and then docker run -d postgres?

@gouravnema
Copy link
Author

Docker Info


Containers: 7
Images: 150
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 164
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-26-generic-tuxonice
Operating System: Ubuntu 15.04
CPUs: 4
Total Memory: 15.58 GiB
WARNING: No swap limit support


Docker Version


Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64


Actual use case,
postgres is a base of this image https://hub.docker.com/r/bahmni/pgsql/~/dockerfile/
and we are launching this using docker-compose https://github.com/Bhamni/bahmni-docker/blob/master/common.yml#L27
Now this is working fine in most of the Mac(OSX) machines with boot to docker but not working in ubuntu machines and escaping * (asterisk) is helping.

Some thing is interesting over here is if i rebuild image from postgres dockerfile even I am not able to reproduce this bug.

using Ubuntu 15.04

@gouravnema
Copy link
Author

This fix is not working when I tried rebuilding Postgres independently. Need to investigate more on this. Hence closing my pull request.

@gouravnema gouravnema closed this Sep 1, 2015
@gouravnema gouravnema deleted the patch-1 branch September 1, 2015 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants