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

2018-02-05 Thread Derek Carter
Turns out my issue is with the version of ocitools that's installed. On Mon, Feb 5, 2018 at 11:00 AM, Stephen Milner wrote: > On Mon, Feb 5, 2018 at 12:30 PM, Derek Carter wrote: >>> No problem! A quick side note: If postgresql-server isn't installed on

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

2018-02-05 Thread Stephen Milner
On Mon, Feb 5, 2018 at 12:30 PM, Derek Carter wrote: >> 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 >>

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

2018-02-05 Thread Derek Carter
> 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 :-) Yeah, I need to fix that. Also,

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

2018-02-05 Thread Stephen Milner
On Mon, Feb 5, 2018 at 11:35 AM, Derek Carter wrote: > On Mon, Feb 5, 2018 at 7:30 AM, Stephen Milner wrote: >> From >> https://github.com/goozbach-atomic/postgres-9.4/blob/master/config.json.template#L4 >> >> "terminal": true, >> >> On Mon, Feb 5,

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

2018-02-05 Thread Derek Carter
On Mon, Feb 5, 2018 at 7:30 AM, Stephen Milner 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 wrote: >> Hi Derek, >> >>

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

2018-02-05 Thread Stephen Milner
>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 wrote: > Hi Derek, > > it looks like the container is trying to use a terminal. > > Do you have "terminal":

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

2018-02-05 Thread Giuseppe Scrivano
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 Derek Carter writes: > I've created a container for postgres: > https://github.com/goozbach-atomic/postgres-9.4 > I built it