Problem running in docker

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
FriFra
Posts: 8
Joined: Sat Jan 06, 2024 12:39 pm

Problem running in docker

Post by FriFra »

I try to get cacti running in my docker environment.

I have useed the following container:
https://registry.hub.docker.com/r/smcline06/cacti/

I also have set the DB variables to its corresponding values. Im sure, my mysql is running and it is reachable on the given IP with the given user and password.

I get the following error:
[New Install] Waiting for database to respond, if this hangs please check MySQL connections are allowed and functional.

What can i do to figure aout what is wrong here?
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problem running in docker

Post by macan »

we don't know your docker image. Is something in cacti_installation_dir/include/config.php?
Let the Cacti grow!
FriFra
Posts: 8
Joined: Sat Jan 06, 2024 12:39 pm

Re: Problem running in docker

Post by FriFra »

Is there an official docker image for cacti, since there are multiple integrations available at registry.hub.docker.com ?

I do currently not know how to get this information out of the container
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problem running in docker

Post by macan »

we don't support docker now, only https://www.cacti.net/info/downloads

Docker version is almost 3 years old. We don't recommend using old version.
Let the Cacti grow!
FriFra
Posts: 8
Joined: Sat Jan 06, 2024 12:39 pm

Re: Problem running in docker

Post by FriFra »

I found a newer docke integration... but i would like it there would be an official support for docker, since this is the easiest way to run such applications.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problem running in docker

Post by TheWitness »

Not at this time. We will discuss as a team tomorrow.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest