Docker Community Forums

Share and learn in the Docker community.

Docker compose network attachable


(Mostolog) #1

Hi

Is it possible to declare an attachable overlay network within compose file?
Using docker 1.13 I’m not able to make this work:

version: "3"
networks:
  mynet:
    driver: overlay
    attachable: true
services:
...

Thanks


(Kalle Mäkelä) #2

Hello,

We also have this same problem…

Br,

  • Kalle

(Ove Lindström) #3

Same question actually and no answer for a while… not possible to do??

/Ove


(Basi) #4

You can try the same with compose version 3.3, it works!


(Mostolog) #5

Thanks @ovelinassa,

version: '3.3'
networks:
  default:
    driver: overlay
    attachable: true
services:
...

works!