Forum Discussion

Andy_Kw's avatar
Occasional Visitor
4 months ago

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 `` (see image below).

I would like to change the to localhost. I've tried to connect to container with bash with the command below to change the

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.


No RepliesBe the first to reply