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

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 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
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
> 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 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 >>

[atomic-devel] system-buildah and project atomic

2018-02-05 Thread Stephen Milner
Hi everyone, I'd like to move system-buildah (https://github.com/ashcrow/system-buildah) under the projectatomic GitHub namespace. system-buildah is a "simple toolbox for building system images.". It uses ocitools, jinja2 templates, and docker/buildah to generate system container ready images.

Re: [atomic-devel] system-buildah and project atomic

2018-02-05 Thread Derek Carter
Great idea. On Mon, Feb 5, 2018 at 7:47 PM, Jason Brooks wrote: > +1 > > On Feb 5, 2018 10:21 AM, "Stephen Milner" wrote: >> >> Hi everyone, >> >> I'd like to move system-buildah >> (https://github.com/ashcrow/system-buildah) under the projectatomic >>

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] system-buildah and project atomic

2018-02-05 Thread Jason Brooks
+1 On Feb 5, 2018 10:21 AM, "Stephen Milner" wrote: > Hi everyone, > > I'd like to move system-buildah > (https://github.com/ashcrow/system-buildah) under the projectatomic > GitHub namespace. > > system-buildah is a "simple toolbox for building system images.". It > uses