docker-compose - fix Command and add Entrypoint support

This commit is contained in:
Tomas Kral
2016-09-02 10:10:34 +02:00
parent 0da484a974
commit 8590a98504
4 changed files with 5 additions and 16 deletions
-10
View File
@@ -41,16 +41,6 @@ func CreateOutFile(out string) *os.File {
return f
}
// Configure the container commands
func ConfigCommands(service kobject.ServiceConfig) []string {
var cmds []string
for _, cmd := range service.Command {
cmds = append(cmds, cmd)
}
return cmds
}
// parseVolume parse a given volume, which might be [name:][host:]container[:access_mode]
func ParseVolume(volume string) (name, host, container, mode string, err error) {
separator := ":"