{
  "slug": "postgres-check-server-readiness",
  "title": "Check Whether PostgreSQL Is Accepting Connections",
  "fixture": "containers/db-first-response-lab",
  "command_count": 3,
  "container_tool": "docker",
  "image": "localhost/linuxoneliners-lab:latest",
  "exit_code": 0,
  "elapsed_ms": 237,
  "stdout": "::fixture-ready::\n$ pg_isready -h 127.0.0.1 -p 5432\n127.0.0.1:5432 - accepting connections\n::exit-code::0\n$ pg_isready -h 127.0.0.1 -p 15432 || true\n127.0.0.1:15432 - no response\n::exit-code::0\n$ ss -ltnp | grep ':5432'\nLISTEN 0      128    127.0.0.1:5432      0.0.0.0:* users:((\"postgres\",pid=421,fd=5))\n::exit-code::0\n",
  "stderr": "",
  "ok": true,
  "security": {
    "network": "none",
    "capabilities": "dropped",
    "no_new_privileges": true,
    "memory": "256m",
    "cpus": "1",
    "pids_limit": 128,
    "tmpfs": [
      "/tmp",
      "/var"
    ]
  }
}