I am not sure where in the chain of events the cause is, but this is the problem.
From inside the container, running isql:
SQL> CONNECT "/databases/TEST.FDB";
Statement failed, SQLSTATE = 08001
I/O error during "open" operation for file "/databases/TEST.FDB"
-Error while trying to open file
-No such file or directory
From the command line:
# ls -al /databases/
total 796
drwxrwxr-x 2 1024 1025 4096 Mar 15 12:04 .
drwxr-xr-x 35 root root 4096 Mar 15 11:58 ..
-rw-rw---- 1 root root 802816 Mar 15 12:05 TEST.DB
This database was created via a Python script using the fdb module:
sql = "create database '%s/%s:%s' user '%s' password '%s'" % (
host_IP, port, database, user, password
)
con = fdb.create_database(sql)
The databases directory is mapped to the container in the usual way, via docker-compose:
I am not sure where in the chain of events the cause is, but this is the problem.
From inside the container, running
isql
:From the command line:
This database was created via a Python script using the
fdb
module:The
databases
directory is mapped to the container in the usual way, via docker-compose: