On Thu, Nov 27, 2025 at 3:20 AM Christian Kraus via user <[email protected]> wrote: > > Hi, > > > > I set up guacamole docker (3 containers, gucd,guacamole, mysql) a few years > ago – everything worked perfect – till the newest docker packages arrived > (Docker Engine v29) > > Now the link between guacamole and mysql container seems tob e broken. > > As i saw the option to link containers seems depriated – can someone confirm > this ? > > And if so how to configure already deployed containers to use docker network > for communicating between each container ? >
Hello, Christian, Yes, if you set the containers up using links, and the latest Docker version removes that functionality, you'll need to re-configure it using the "--network" flag and a container network rather than the --link flag. The manual has been updated with examples on how to do that: https://guacamole.apache.org/doc/gug/guacamole-docker.html Looking at it, though, there may actually be a slight error in the manual, so here's a quick run-down of how I believe the commands should look: docker run --network=some-network --name some-guacd -d guacamole/guacd docker run --network=some-network --name some-mysql -d mysql:latest docker run --network=some-network --name some-guacamole -e MYSQL_HOSTNAME=some-mysql -e GUACD_HOSTNAME=some-guacd -d -p 8080:8080 guacamole/guacamole (Note that I've left off a lot of options that you'll probably need, like database, database username and password, etc. - the above example is just to show how to set up the containers to talk together on the network.) -Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
