🐳 gforghetti:[~/Downloads] $ docker container ls --filter name=my_db
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
699f1eea11c3 postgres:latest "docker-entrypoint.s…" 11 seconds ago Up 10 seconds 5432/tcp my_db
Looks like “something is wrong” with the /ClientPortal_Create.sql script.
I don’t know what it looks like inside as you have not shown it’s contents.
I recommend you bring up a shell prompt inside the container and run it manually first to debug it.
You are also copying the /ClientPortal_Create.sql script with docker cp command.
Not sure if that file has the necessary “execute” permissions for linux if you are copying it from a Windows client.
You should build a Docker Image with the sql command file built it (Dockerfile COPY) and then run a docker container from the image.
Notice in my example I ran the psql client command.