Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Docker 1.9+ networking model support #668

Open
quantverse opened this issue Nov 30, 2015 · 3 comments
Open

Docker 1.9+ networking model support #668

quantverse opened this issue Nov 30, 2015 · 3 comments

Comments

@quantverse
Copy link

quantverse commented Nov 30, 2015

Hello,

I would like to ask if there is already any support for the new docker networking model released with version 1.9 (in case containers are launched as services when declared in cloud config)?

Docker-compose supports this with the --x-networking flag.

I see that I am already able to assign network to the container (net: xxx), but I am not able to create a custom network (in cloud config). With docker I would just use docker network create xxx. This should be supported in cloud config, like this (for example):

docker-networks:
  - xxx
  - yyy
@joshwget
Copy link
Contributor

This should be supported once libcompose supports Docker Compose v2 format docker/libcompose#147

@KenjiTakahashi
Copy link

Is there something going on regarding this?
The docker networking has been here for a while now and seems supported by libcompose as well.
Yet networks keys (as in docker-compose V2/V3 format) specified in RancherOS cloud-config seem to do nothing.
I have to create networks and connect containers to them by hand/separate scripts, which is PITA.

@SvenDowideit
Copy link
Contributor

I'm going to add this as a "MAYBE" for v1.2 - I don't currently have time, but we need to have a reminder.

@SvenDowideit SvenDowideit added this to the v1.2.0 milestone Sep 5, 2017
@niusmallnan niusmallnan modified the milestones: v1.3.0, unscheduled Feb 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants