docker-compose --x-networking up not working -


i trying set docker-compose network command

docker-compose --x-networking 

return standart docker-compose output

define , run multi-container applications docker.  usage:   docker-compose [-f=<arg>...] [options] [command] [args...]   docker-compose -h|--help  options:   -f, --file file           specify alternate compose file (default: docker-compose.yml)   -p, --project-name name   specify alternate project name (default: directory name)   --verbose                 show more output   -v, --version             print version , exit  commands:   build              build or rebui...   (etc) 

any idea why?

this depends on version of docker-compose you're using. versions before 1.5 did not have flag. if you're using 1.6; --x-networking flag no longer present in 1.6 because it's automatically used if docker-compose.yml uses 2.0 format

see release notes;

support networking has exited experimental status , recommended way enable communication between containers.

if use new file format, app use networking. if want keep using links, leave compose file , it'll continue work same.

by default, don't have configure networks. in fact, using networking compose involves less configuration using links. consult networking guide how use it: https://github.com/docker/compose/blob/1.6.0-rc1/docs/networking.md

the experimental flags --x-networking , --x-network-driver, introduced in compose 1.5, have been removed.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -