Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Add Docker Driver configuration options #661

Merged
merged 2 commits into from
Mar 11, 2019

Conversation

simonferquel
Copy link
Contributor

Based on @radu-matei 's #651.

This adds support for additive container.Config / container.HostConfig options in the Docker Driver.
The motivation is that:

  • docker-app now creates an invocation image that runs with a non-root user by default
  • when we detect that we want to deploy on a local swarm cluster (e.g. the target docker context host is something like unix:///var/run/docker.sock, we want docker-app to detect that and customize the docker driver to actually bind mount the socket (which won't be done by default), and the invocation image with a user which has read/write access to it.

This is a pretty important feature for docker-app local usage with Docker Dekstop

cc @chris-crone

radu-matei and others added 2 commits February 26, 2019 06:17
Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

Copy link
Member

@jeremyrickard jeremyrickard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

4 participants