summaryrefslogtreecommitdiff
path: root/cmd/kpod/create.go
Commit message (Collapse)AuthorAge
* Address run/create performance issuesbaude2017-11-14
| | | | | | | | | | | | Fixed the logic where we observed different performance results when running an image by its fqname vs a shortname. In the case of the latter, we resolve the name without using the network. Signed-off-by: baude <bbaude@redhat.com> Closes: #37 Approved by: rhatdan
* Do not attempt to use command --args as cli flagsbaude2017-11-08
| | | | | | | | | i.e. kpod run fedora python --version Signed-off-by: baude <bbaude@redhat.com> Closes: #33 Approved by: rhatdan
* Fix panic when no image is givenDaniel J Walsh2017-11-08
| | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #31 Approved by: mheon
* spec.go: Remove cli context as func argbaude2017-11-03
| | | | | | | Remove cli context as a func arg to make unit tests easier. Signed-off-by: baude <bbaude@redhat.com>
* create_cli_test.go: Unittestsbaude2017-11-03
| | | | | | | | | Create unittests for the create_cli helper functions. As such, remove cli context usage from the functions to further divide between cli input and parsing. Also, simplifies unit testing. Signed-off-by: baude <bbaude@redhat.com>
* Parse SecurityOptsDaniel J Walsh2017-11-03
| | | | | | | | | This should turn on handling of SELinux, NoNewPrivs, seccomp and Apparmor Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #15 Approved by: rhatdan
* Fix gofmt errorsDaniel J Walsh2017-11-02
| | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* libpod create and runbaude2017-11-01
patched version of the same code that went into crio Signed-off-by: baude <bbaude@redhat.com>