summaryrefslogtreecommitdiffstats
path: root/lib/container/remove (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updating copyright notices for 2021.Daniel Baumann2021-02-091-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Cleaning up and harmonizing verbose output for container remove, restart, ↵Daniel Baumann2020-10-301-6/+12
| | | | | | start, and stop commands. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding awk optimizations in configuration file handling.Katharina Drexel2020-10-301-3/+3
| | | | Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch>
* Fixing 'cnt remove' error when executed in directory ↵Katharina Drexel2020-08-281-1/+1
| | | | | | | /usr/lib/open-infrastructure/container. Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating copyright notices for 2020.Daniel Baumann2020-01-211-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming container-tools to compute-tools.Daniel Baumann2019-02-231-7/+8
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding verbose output when using '-n ALL' options with container commands.Daniel Baumann2019-02-171-0/+6
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright notices to 2019.Daniel Baumann2019-02-171-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding 'ALL' as pseudo container name for container start, stop, restart, ↵Daniel Baumann2018-05-271-0/+21
| | | | | | and remove commands to act on all available container respectivly. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting typo in verbose option handling of container remove command.Daniel Baumann2018-05-271-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container remove --allow-stop option to override abort of running ↵Daniel Baumann2018-02-181-4/+18
| | | | | | containers and stop them prior removal. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright information for 2018.Daniel Baumann2018-02-181-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding SPDX License Identifiers.Daniel Baumann2017-12-051-0/+2
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Avoid removing top-level directories when cleaning up bind mounts in ↵Daniel Baumann2017-07-011-2/+23
| | | | | | | | | container remove and stop commands. Previously when using 'bind=/mnt/foo:/foo/bar/baz;', this removed /mnt on the host system too (if empty). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding support for bind-ro nspawn option for read-only bind mounts.Daniel Baumann2017-04-031-1/+16
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright information for 2017.Daniel Baumann2017-01-041-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Enabling pre and post hooks in container commands.Daniel Baumann2016-12-111-0/+19
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Renaming too generic internal getopt variables to avoid possible collisions ↵Daniel Baumann2016-11-251-3/+3
| | | | | | in the future. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Fail to find container in remove command only when both the rootfs and the ↵Daniel Baumann2016-11-121-1/+1
| | | | | | config are gone already. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding -v, --verbose option to container remove command.Daniel Baumann2016-08-041-5/+20
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Correcting bind mount directory removal in container remove command to work ↵Daniel Baumann2016-07-011-4/+10
| | | | | | with multiple directories at once. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Harmonizing defintions of long and short options in getopt code of container ↵Daniel Baumann2016-07-011-2/+2
| | | | | | commands. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Using safety measures of rm when removing containers because of ↵Daniel Baumann2016-06-031-1/+1
| | | | | | (potentially) active bind mounts. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating comments in commands.Daniel Baumann2016-03-311-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Making removal message and answer handling of container remove command more ↵Daniel Baumann2016-03-311-2/+4
| | | | | | userfriendly. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Updating year in copyright notices in container commands.Daniel Baumann2016-03-311-1/+1
| | | | Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Adding container commands.Daniel Baumann2016-03-121-0/+129
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>