Hey,
I’ve looked around and searched for an answer for around four hours and don’t find the right solution.
Setup:
Windows Server 2022 with Hyper-V, virtual machine with Docker (nested virtualization on, wsl2). I’ve already changed the settings in de database-file within the docker image in Docker via “Volumes”.
The next step should be the Execution of the setup-Script.
- It’s Docker on a Windows vm. Should I execute the bat or sh?
- I’ve copied the bat out of the docker volume and executed it on the vm - that’s wrong, isn’t it?
- How do I start the setup script from Win PowerShell (or from somewhere else?)
- Is there a possible way to test the database-login from the docker-image? I’m using bdm.db.server.name=host.docker.internal because the PostgreSQL is on the same vm as Docker. But I don’t know if that’s correct.
My absolute pains currently are checking if the database connection works from within docker and no knowledge about running whether the sh or bat setup.
Thanks!