summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Vendor in latest upstream containers/imageumohnani82017-12-11
| | | | Signed-off-by: umohnani8 <umohnani@redhat.com>
* Add Artifacts directory to containersumohnani82017-12-07
| | | | | | | | | | | | | Create an artifacts directory in the container's static directory so store container information coming from outside of libpod to specified files An example is to hold data from user specified flags in kpod run/create such as --cap-add, --ipcMode, etc... Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #108 Approved by: mheon
* Fix reference to libkpod to libpodDaniel J Walsh2017-12-05
| | | | | | | | | ps.go no longer uses libkpod Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #104 Approved by: mheon
* Add Linux Root Propagation to kpod create and runumohnani82017-12-05
| | | | | | | | | | | Add [r]shared, [r]private, [r]slave functionality to the --volume flag for kpod create and kpod run This sets the root propagation for each bind mount Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #87 Approved by: rhatdan
* Prune kpod psbaude2017-12-05
| | | | | | | | | Prune libkpod from kpod ps. Remove unused functions. Signed-off-by: baude <bbaude@redhat.com> Closes: #102 Approved by: rhatdan
* Remove kpod renameMatthew Heon2017-12-04
| | | | | | | | | | Libpod containers are immutable once created. They cannot be renamed after created. As such remove kpod rename. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #101 Approved by: baude
* Short options!baude2017-12-04
| | | | | | | | | | | | Any subcommand that has two or more booleon short options can now combine those two options. For example: kpod rmi -af (Remove all images forceably) Signed-off-by: baude <bbaude@redhat.com> Closes: #100 Approved by: rhatdan
* Vendor in latest urfave/clibaude2017-12-04
| | | | | | | | | | The latest urfave/cli has the ability for us to use short options when it is a bool. Signed-off-by: baude <bbaude@redhat.com> Closes: #100 Approved by: rhatdan
* Consolidate mount logicMatthew Heon2017-12-04
| | | | | | | | | | | There are still two places that don't use the new function, export and mount, but both can probably be converted to it in the future. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #99 Approved by: rhatdan
* You can only attach to running containersDaniel J Walsh2017-12-04
| | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #98 Approved by: mheon
* kpod create should not do an OCI InitDaniel J Walsh2017-12-04
| | | | | | | | | | | We need to differentiate between a kpod create and a kpod start kpod create should create all of the data for libpod, but kpod start should generate content for OCI Runtime (runc) in order to run. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #96 Approved by: mheon
* When shutting down the runtime we should always close the databaseDaniel J Walsh2017-12-04
| | | | | | | | | Even if the storage fails to shutdown. This patch fixes on TODO. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #97 Approved by: mheon
* kpod attachbaude2017-12-04
| | | | | | | | | Attach to a running container Signed-off-by: baude <bbaude@redhat.com> Closes: #95 Approved by: rhatdan
* Add NetMode, UTSMode and IPCModeDaniel J Walsh2017-12-02
| | | | | | | | | | | | | | Allow kpod create/run to create contianers in different network namespaces, uts namespaces and IPC Namespaces. This patch just handles the simple join the host, or another containers namespaces. Lots more work needed to full integrate --net Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #64 Approved by: mheon
* kpod stop -abaude2017-12-01
| | | | | | | | | | Stop all running containers with single switch. Useful for maintainence of a system or integration tests. Signed-off-by: baude <bbaude@redhat.com> Closes: #90 Approved by: rhatdan
* Update Conmon to sync with CRI-OMatthew Heon2017-11-30
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #92 Approved by: rhatdan
* Add schema validation to DBMatthew Heon2017-11-30
| | | | | | | | | | This ensures we don't open a DB with an earlier schema or a config that differs from ours Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #86 Approved by: rhatdan
* Remove gitvalidation from travisbaude2017-11-30
| | | | | | | | | | | gitvalidation in travis has been problematic. It is already being done in Fedora and Centos so we have a reliable test occuring there. Signed-off-by: baude <bbaude@redhat.com> Closes: #91 Approved by: rhatdan
* Add randomly generates container namesMatthew Heon2017-11-30
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #88 Approved by: baude
* kpod_startbaude2017-11-29
| | | | | | | | | Starts one or more containers. Signed-off-by: baude <bbaude@redhat.com> Closes: #83 Approved by: rhatdan
* Fix --volume flag for kpod create and runumohnani82017-11-29
| | | | | | | | | | Enable the --volume flag to validate user input and add functionality for :z and :Z options Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #84 Approved by: mheon
* Move libpod under containers/storageDaniel J Walsh2017-11-29
| | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #65 Approved by: mheon
* Change location of created runc specs to make them survive rebootMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #78 Approved by: rhatdan
* Fix error in runtime_ctrMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #85 Approved by: rhatdan
* Update gitvalidation epoch to ignore older errors after updateMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #85 Approved by: rhatdan
* Ensure that we can't remove paused containersMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #85 Approved by: rhatdan
* Fix rmi -f removing containers from storage without telling libpodMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Attempt fix for persistent bash parameter expansion issuesMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Move removal of containers into teardown helperMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Fix kpod rm tests returning error code when they should notMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Fix removing running containersMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* First pass at fixing test errorsMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Fix tests - use rm -a -f instead of nested commandsMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Fix comment on container.Stop()Matthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Shut down containers when force stopping the runtimeMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Update container-based testsMatthew Heon2017-11-29
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Add ability to kill and stop containersMatthew Heon2017-11-29
| | | | | | | | | | | | | | Also migrates kpod kill and kpod stop to libpod to use the new code Fixes force removing containers, and actually deletes containers in runc when removing them Start is now capable of starting even when the container is unmounted Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
* Update man pages and output for kpod imagesumohnani82017-11-28
| | | | | | | | | | | | | The size had a precision of 4, but wanted a precision of 3 to match the output of docker images updated the man page with more examples vendored in new version of docker/go-units to allow for customized precisions Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #82 Approved by: rhatdan
* Vendor in v0.3.2 of docker/go-unitsumohnani82017-11-28
| | | | | | | | | docker/go-units is used in converting bytes to human readable format Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #82 Approved by: rhatdan
* Implement kpod --rm codeDaniel J Walsh2017-11-28
| | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #81 Approved by: baude
* kpod psbaude2017-11-28
| | | | | | | | | Wire up kpod ps with the new libpod container backend. Signed-off-by: baude <bbaude@redhat.com> Closes: #67 Approved by: rhatdan
* remove unused functions and variablesSuraj Deshmukh2017-11-28
| | | | | | | Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com> Closes: #71 Approved by: rhatdan
* Add docker transport to push image before final failureTomSweeneyRedHat2017-11-28
| | | | | | | Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #42 Approved by: rhatdan
* Merge pull request #80 from umohnani8/kpod_imagesDaniel J Walsh2017-11-27
|\ | | | | Fix output of kpod images
| * Fix output of kpod imagesumohnani82017-11-27
| | | | | | | | | | | | Update the output of kpod images to match that of docker images Signed-off-by: umohnani8 <umohnani@redhat.com>
* | Merge pull request #79 from mheon/fix_createDaniel J Walsh2017-11-27
|\ \ | |/ |/| Make 'kpod create' also create the container in runc
| * Temporarily disable kpod create tests until kpod rm is readyMatthew Heon2017-11-27
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
| * Fix kpod pause tests - pausing a created container is validMatthew Heon2017-11-27
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
| * Make 'kpod create' also create the container in runcMatthew Heon2017-11-27
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
* | kpod_waitbaude2017-11-27
| | | | | | | | | | | | | | | | | | Convert to libpod container backend Signed-off-by: baude <bbaude@redhat.com> Closes: #70 Approved by: rhatdan