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 Volumes, Mounts and Hostname options #11

Merged
merged 5 commits into from
Jan 12, 2022

Conversation

floatdrop
Copy link
Contributor

@floatdrop floatdrop commented Dec 23, 2021

Accept list of volumes mapping in []string and pass it to ContainerCreate as map[string]struct{}. Mounts accepted as docker []mount.Mount type.

P.s. Imports was merged by goimports.

@@ -15,7 +15,7 @@ services:
env:
global:
- GO111MODULE=on
- GOLANGCI_LINT_VERSION=v1.31.0
- GOLANGCI_LINT_VERSION=v1.43.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bumped golangci version to fix travis builds (1.31 is missing revive plugin).

@floatdrop floatdrop changed the title Add Volumes option Add Volumes and Mounts options Dec 23, 2021
@floatdrop floatdrop changed the title Add Volumes and Mounts options Add Volumes, Mounts and Hostname options Dec 23, 2021
Copy link
Owner

@dhui dhui left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@dhui dhui merged commit 05095e6 into dhui:master Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants