Jasmin shahrzad
asked on
install postgresql ?
how to install postgres 10 on lxd alpine container?
apk add postgresql just add the latest version and i need a older version. i cant see version number on apk list | grep postgres not showing older version.
apk add postgresql just add the latest version and i need a older version. i cant see version number on apk list | grep postgres not showing older version.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Doing this is fairly easy.
1) Using Alpine, you must downgrade as you've figured out.
2) With Ubuntu, you'l spin up a Bionic container, rather than Focal, as Bionic appears to provide last support for PostgreSQL-10.
3) You can also, just install whatever Distro you like into an LXD container, then follow these instructions...
http://www.linuxfromscratch.org/blfs/view/8.2/server/postgresql.html for building v10 from source.
1) Using Alpine, you must downgrade as you've figured out.
2) With Ubuntu, you'l spin up a Bionic container, rather than Focal, as Bionic appears to provide last support for PostgreSQL-10.
3) You can also, just install whatever Distro you like into an LXD container, then follow these instructions...
http://www.linuxfromscratch.org/blfs/view/8.2/server/postgresql.html for building v10 from source.
ASKER
or download source and install .... .