Reputation: 14893
In docker compose file i was able to declare a domain & IP like below -
extra_hosts:
- "mshost:10.4.12.31"
- "mongodb DEV-MONGODB:10.250.12.35"
I want to know the alternative to this while using below command in docker engine swarm mode .
"docker service create ...."
Upvotes: 1
Views: 1244