I have an application. The application is working on Linux, but I plan to migrate it to the docker container.
I developed some modules that can use embedded PostgreSQL instead of a regular Postgres database. It is working perfectly on my Host, but in the Docker, the process exits with code 1
.
In the application, I want to start a subprocess with the following command:
cmd := exec.Command("embeded-postgres")
err := cmd.Run()
error is:
exit status 1
no other information in stderr or stdin
I think there is some mechanism that checks if only one process is working in the container, but I cannot find any documentation. Could anyone point me in to correct direction, please? I would like to read and understand more about this. Could anyone point