7 ms·
That's essentially what Docker hub already is. you can do docker pull postgres and get a postgres service which runs in a container.
by raesene4 11y ago
That's essentially what Docker hub already is. you can do
docker pull postgres
and get a postgres service which runs in a container.
- lisivka 11y agoNah. With command "apt-get/yum/dnf/etc. install postgress && service postgress start" I will have postgress service up and running. Command "docker pull postgress" will just download image of postgress, which I will need to run with lot of parameters, which I need to figure out.
- raesene4 11y agoyou are kidding right? the commands needed are right there on the docker hub page https://hub.docker.com/_/postgres/ https://hub.docker.com/_/postgres/
- lisivka 11y agoNo. I never will read this page because "yum install postgress && systemctl enable postgress" just works, even in docker container (with systemd).