I have a Couchbase server container named db
launched with --net=host
option which exposes port 11210, and now I have to link another container to it.
If I use the --link
option while running my new container, that is type:
docker run -d -P --name my_name --link db:db my_image
I get:
Error response from daemon: Conflicting options: host type networking can't be used with links. This would result in undefined behavior.
How can I solve this?