---
title: "Gateway - Docker images and database connections"
description: "The Gateway Docker integration in Geneos does not include its own database and requires an external database connection. To resolve connection errors, you must install necessary database client libraries or create a custom Docker image with required components."
url: "https://docs.itrsgroup.com/docs/faq/geneos/26937616040733-geneos-gateway-docker-images-and-database-connections/index.html"
---
## Related to

The Gateway Docker integration doesn't have its own database. You'll need to integrate one **externally** depending on your environment or use case.

### Problem

User may be getting an error when trying to connect Geneos to an external database through Docker:

```
2025-04-04 13:36:41.332+0000 INFO: DBConnection Connecting to DB using ODBC Driver 18 for SQL Server
2025-04-04 14:36:42.049
LIBRARY
2025-04-04 14:36:42.049
, db error code: 3 (type: LIBRARY) [3] libiodbc.so: libiodbc.so: cannot open shared object file: No such file or directory
```

### Possible solutions

Geneos docker image only contains minimal OS libraries. You'll need to install your own library for database connections similar to Gateway packages.

You may also create your own docker image from Centos image adding netprobe binaries, database client and Java installation. Or you may use the Docker image and you may add from there.

## Related articles

[Geneos containers documentation](https://docs.itrsgroup.com/docs/geneos/current/administration/orchestrated-environments/geneos_containers/index.html)


