Hi I'm trying to build a container with Ruby, Postgres, Cron (here the steps) but after I exported and imported the image in another computer something has changed.
Everything is fine but postgres doesn't start anymore. A group is missing it seems but I didn't have group 107 in the computer where I exported the image and the base image is the same.
cat /bin/startme.sh
cron # NOTE: upstart doesn't work out-of-the-box
/etc/init.d/postgresql start
sudo -u stringer foreman start -d /home/stringer/stringer
root@45d3abfbc1ca:/# /bin/startme.sh
* Starting PostgreSQL 9.1 database server
* Error: The cluster is owned by group id 107 which does not exist any more
When I don't have to debug I usually run:
docker run -p 5000 -t -i grigio/stringer-ruby-postgres /bin/startme.sh but I alwais get that error.
Hi I'm trying to build a container with Ruby, Postgres, Cron (here the steps) but after I exported and imported the image in another computer something has changed.
Everything is fine but postgres doesn't start anymore. A group is missing it seems but I didn't have group 107 in the computer where I exported the image and the base image is the same.
When I don't have to debug I usually run:
docker run -p 5000 -t -i grigio/stringer-ruby-postgres /bin/startme.shbut I alwais get that error.