2
에 외부 오버레이 네트워크를 연결할 수 없습니다고정 표시기-작성이 제작 한 외부 네트워크
$ docker network ls
NETWORK ID NAME DRIVER SCOPE
37295f249f91 bridge bridge local
c2ec03c99888 docker_gwbridge bridge local
33dd13c9686d host host local
27goixjy0jys ingress overlay swarm
75508732fab2 none null local
ef6fti3kq6w4 mynetwork overlay swarm
나는 그것으로 컨테이너를 배치하려고 내 docker-compose.yml
에, 서비스의 생성은
$ docker-compose up
Creating service-lb
ERROR: for service-lb network mynetwork not found
ERROR: Encountered errors while bringing up the project.
내 docker-compose.yml
외모와 함께 실패 이 같은 :
version: "2"
services:
service-lb:
image: myreg:5000/myorg/service-lb:latest
ports:
- "0.0.0.0:10080:80"
dns_search:
- .
networks:
- mynetwork
networks:
mynetwork:
external: true
이 떼의 범위에 오버레이 네트워크를 처리 할 수없는 docker-compose
인가? 여전히 컨테이너 API를 사용하고, 떼 모드는 서비스 API의 사용을 필요로하기 때문에
Versions:
docker-compose v1.8.0-rc2
docker 1.12.0-rc5