mirror of https://github.com/docker/docs.git
server/buildfile: correct daemon.Create comments
s/and start it// Docker-DCO-1.1-Signed-off-by: Johan Euphrosine <proppy@google.com> (github: proppy)
This commit is contained in:
parent
08a7bcf5db
commit
8b31824ad6
|
|
@ -637,7 +637,7 @@ func (b *buildFile) CmdAdd(args string) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the container and start it
|
// Create the container
|
||||||
container, _, err := b.daemon.Create(b.config, "")
|
container, _, err := b.daemon.Create(b.config, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
@ -666,7 +666,7 @@ func (b *buildFile) create() (*daemon.Container, error) {
|
||||||
}
|
}
|
||||||
b.config.Image = b.image
|
b.config.Image = b.image
|
||||||
|
|
||||||
// Create the container and start it
|
// Create the container
|
||||||
c, _, err := b.daemon.Create(b.config, "")
|
c, _, err := b.daemon.Create(b.config, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue