mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
add -v|--volume to bind mount host path into a service container
This commit is contained in:
@@ -268,6 +268,7 @@ func (cli *Client) runContainer(
|
||||
}
|
||||
}
|
||||
hostConfig := &container.HostConfig{
|
||||
Binds: spec.Container.Volumes,
|
||||
Init: spec.Container.Init,
|
||||
PortBindings: portBindings,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user