Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "isolaton" in Compose files #414

Closed
Techwolfy opened this issue Aug 2, 2017 · 1 comment · Fixed by #426
Closed

Add support for "isolaton" in Compose files #414

Techwolfy opened this issue Aug 2, 2017 · 1 comment · Fixed by #426

Comments

@Techwolfy
Copy link

Techwolfy commented Aug 2, 2017

The Compose v3 format includes a parameter to specify the type of container isolation that the host should use. This is always default on Linux, but can be either process or hyperv on Windows. This setting was added in v2.1 and has remained in the documentation since.

However, it was left out of the v3+ schema definition, so it currently can't be used in newer Compose files despite working correctly if the file version is downgraded. I've submitted a patch in docker/compose#5075 to fix this for local deployments. Swarm has never had support for this feature though so it will likely be a bit more complicated to fix.

Currently, running docker stack deploy -c docker-compose.yml swarm results in the error message isolation Additional property isolation is not allowed. I'm working on a Windows-based Swarm application and not all of the servers share an OS version so this feature would be quite helpful to me.

@thaJeztah
Copy link
Member

For reference; this depends on moby/moby#31616 to be decided on (and implemented) first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants