Replies: 2 comments
|
Your read is right, and the missing piece is that Quattro turns So only the socket unit comes up at boot. Enable the service unit as well: This does not cost you boot time here, because the repo already ships the drop-in that keeps an enabled The socket unit stays enabled and keeps working, the daemon just no longer waits to be poked. Every entry in the Docker DB installer is published on a loopback port with that restart policy ( |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
System details
Omarchy 4.0.1-1 (Quattro)
Docker 29.7.2
PostgreSQL installed via
Install > Development > Docker DBThis has been reproduced on two separate Omarchy Quattro 4.0.1 systems.
What's wrong?
Docker DB containers are not running after reboot because docker.service is inactive.
After boot,
docker.socketis listening butdocker.serviceis inactive. A TCP connection to a published container port does not activate the Docker daemon.For example, after reboot:
Starting a Rails application and accessing it produces:
However, running:
immediately activates Docker through docker.socket. Once Docker is activated, the PostgreSQL container starts because it has the unless-stopped restart policy, and the Rails application works without any other change.
Steps to reproduce
The same behavior occurs with PostgreSQL 18 freshly installed through the official Quattro Docker DB installer.
The issue was also reproduced on a second Omarchy Quattro 4.0.1 system.
Expected behavior
A PostgreSQL container installed through
Install > Development > Docker DBwith the unless-stopped restart policy should be available after reboot, or Quattro should provide/document the expected mechanism for starting Docker DB containers before applications that depend on them.Additional information
The current Quattro configuration uses:
When something accesses /run/docker.sock, docker.socket activates docker.service.
A TCP connection such as:
does not access /run/docker.sock, so it cannot activate docker.service.
Running:
does access the Docker API and therefore activates the daemon.
All reactions