summaryrefslogtreecommitdiff
path: root/cmd/kpod/create_cli.go
Commit message (Collapse)AuthorAge
* Fix up handling of environment variablesDaniel J Walsh2017-11-20
| | | | | | | | | | | | | | The way docker works is if a user specifies a non `-e Name=Value`, IE just a `-e Name`, then the environment variable Name from the clients OS.ENV is used. Also by default Docker containers run with the HOSTNAME environment set to the HOSTNAME specified for the container. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #21 Approved by: baude
* libpod/runtime_img_test.go Unit Testsbaude2017-11-04
| | | | | | Unit tests for getRegistry related functions. 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>
* libpod create and runbaude2017-11-01
patched version of the same code that went into crio Signed-off-by: baude <bbaude@redhat.com>