You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At https://hub.docker.com/_/mongo/, under "Connect to MongoDB from another Docker container", the example given is if you want to run two MongoDB containers side-by-side, but you want to connect them so you only have to start the Mongo server in one of them. This makes for some very confusing language, with mongo-this and mongo-that spread over two lines. It's impossible to unpack host name from link name from tag name from service name across two run commands.
Would it be possible to replace this example with a more useful one please? The perfect example would be this: Mongo is running one container, your web server is running in another, and the web server needs to access Mongo.
Many thanks.
The text was updated successfully, but these errors were encountered:
At https://hub.docker.com/_/mongo/, under "Connect to MongoDB from another Docker container", the example given is if you want to run two MongoDB containers side-by-side, but you want to connect them so you only have to start the Mongo server in one of them. This makes for some very confusing language, with mongo-this and mongo-that spread over two lines. It's impossible to unpack host name from link name from tag name from service name across two run commands.
Would it be possible to replace this example with a more useful one please? The perfect example would be this: Mongo is running one container, your web server is running in another, and the web server needs to access Mongo.
Many thanks.
The text was updated successfully, but these errors were encountered: