[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] Container runs under `runc` but not when wrapped by systemd



On Mon, Feb 5, 2018 at 11:35 AM, Derek Carter <derek goozbach com> wrote:
> On Mon, Feb 5, 2018 at 7:30 AM, Stephen Milner <smilner redhat com> wrote:
>> From https://github.com/goozbach-atomic/postgres-9.4/blob/master/config.json.template#L4
>>
>>     "terminal": true,
>>
>> On Mon, Feb 5, 2018 at 9:25 AM, Giuseppe Scrivano <gscrivan redhat com> wrote:
>>> Hi Derek,
>>>
>>> it looks like the container is trying to use a terminal.
>>>
>>> Do you have "terminal": false in your config.json file?
>>>
>>> Regards,
>>> Giuseppe
>
> That was it!!!
>
> Thanks ya'll!
>
> --
> Derek
> aka goozbach
>

No problem! A quick side note: If postgresql-server isn't installed on
the host system /var/run/postgresql won't exist. You may want to use a
tmpfiles.template (and add it to the Dockerfile COPY) to make sure
that the directory is present in that case :-)

-- 
Thanks,
Steve Milner

Atomic | Red Hat | http://projectatomic.io/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]