GitHub user davift created a discussion: Lazy Apache CloudStack in Docker for 
Demo and Tests

Hey folks,

I managed to build and run **ACS 4.20 TLS** on Docker for the sake of a 
disposable and on-the-go test environment.

## Lazy CloudStack

Very basic stuff. Feel free to give it a try!

https://github.com/davift/lazy-cloudstack/

---

## Help Wanted

On the other hand, it does not work when I replace **4.20** with **4.21** or 
**4.22**: https://github.com/davift/lazy-cloudstack/blob/main/Dockerfile

Encountered error:
```
2026-01-29 12:36:01,955 DEBUG [c.c.u.d.DbProperties] (main:[]) (logid:) DB 
properties were already loaded
<removed for brevity>
2026-01-29 12:36:07,308 WARN  [c.c.u.d.T.Transaction] (main:[]) (logid:) Unable 
to load db configuration, using defaults with 5 connections. Falling back on 
assumed datasource on localhost:3306 using username:password=cloud:cloud. 
Please check your configuration 
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to 
initialize pool: Could not create connection to database server. Attempted 
reconnect 3 times. Giving up.
```

While the Docker image above will run Ubuntu with Systemd, as ACS is designed 
to run, I also created a Docker Compose build with one container for MySQL and 
another for ACS Management that runs the Java binary directly (no need for 
Systemd): https://github.com/davift/lazy-cloudstack/blob/main/docker-compose/

Encountered error:
```
acs.local  | 2026-01-29 13:38:59,677 main ERROR TcpSocketManager 
(TCP:localhost:4560) caught exception and will continue: java.io.IOException: 
Unable to create socket for localhost at port 4560 using ip address 127.0.0.1 
and port 4560
```

If anybody wants to collaborate, please let me know...

GitHub link: https://github.com/apache/cloudstack/discussions/12547

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to