Docker DB Connect
Thu Jun 09 2022 15:49:14 GMT+0000 (Coordinated Universal Time)
Saved by @amarMohammed
Allows you to connect to the db without worrying about any network config. Good to use as a test after initial creation of container.
Thu Jun 09 2022 15:49:14 GMT+0000 (Coordinated Universal Time)
Saved by @amarMohammed
Allows you to connect to the db without worrying about any network config. Good to use as a test after initial creation of container.
Comments
@amarMohammed - Thu Jun 09 2022 15:53:01 GMT+0000 (Coordinated Universal Time)When connecting to the db on docker from a client the server address is localhost.
Ensure to map the port when creating the container