Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels