netdisco / netdisco-docker

Docker images for App::Netdisco
BSD 3-Clause "New" or "Revised" License
49 stars 15 forks source link

docker compose fails on RHEL 7 #38

Closed rtrunk closed 3 years ago

rtrunk commented 3 years ago

When installing on RHEL 7, docker-compose up fails:

$sudo curl -Ls -o docker-compose.yml https://tinyurl.com/nd2-dockercompose
$sudo docker-compose up

Starting trunkr_netdisco-postgresql_1 ... done
Starting trunkr_netdisco-backend_1    ... done
Starting trunkr_netdisco-web_1        ... done
Attaching to trunkr_netdisco-postgresql_1, trunkr_netdisco-backend_1, trunkr_netdisco-web_1
netdisco-postgresql_1  | chmod: /var/lib/postgresql/data: Permission denied
trunkr_netdisco-postgresql_1 exited with code 1
rc9000 commented 3 years ago

Hi @rtrunk, sorry nobody got around to reply for such a long time. Netdisco volunteers are spread thin and generally quite busy.

I only have RHEL8.4 to try, but there it works fine for me. It might depend on the RHEL point release and Docker distribution and versions you're using, I had:

If this issue still exists for you, please try again with the latest version of the docker-compose file. Let us know if it still fails and include the above version details. Note that you'll need at least Docker 20.10. to run the latest Alpine Linux we are based on.

rc9000 commented 3 years ago

Closing this for now since there is also a centos 7 success story in #45