Andy_Kw
9 months agoOccasional Visitor
Change the IP address in the curl config
I've setup a docker compose file with a dockerised image of swagger, swagger-ui.
By default, the ip address of the curl for that image is `0.0.0.0` (see image below).
I would like to change the 0.0.0.0 to localhost. I've tried to connect to container with bash with the command below to change the spring.rest.hostname
docker exec -it postgrest-swagger-1 bash
However, it gives me the error below
OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown
Not sure what I should do.
Any hints are welcomed.