summaryrefslogtreecommitdiffstats
path: root/lib/container (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-11Moving command files from /usr/lib to /usr/libexec.Daniel Baumann17-3411/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2021-02-09Updating copyright notices for 2021.Daniel Baumann15-15/+15
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-10-30Cleaning up and harmonizing verbose output for container remove, restart, ↵Daniel Baumann4-31/+73
start, and stop commands. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-10-30Adding container run command to execute programs within containers.Daniel Baumann1-0/+127
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-10-30Adding one more awk optimizations in container stop command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-10-30Adding awk optimizations in configuration file handling.Katharina Drexel8-39/+39
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch>
2020-10-30Adding overlay options to container start command.Katharina Drexel1-1/+11
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-10-30Adding overlay options to container create command.Katharina Drexel1-2/+8
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-09-22Adding missing colon in container create commands '--script' option.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-09-22Correcting wrong usages of new and old container names in container move ↵Daniel Baumann1-4/+4
command, thanks to Katharina Drexel <katharina.drexel@bfh.ch> for discovering it. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-08-28Fixing one more occurence of wrong tr usage in container move command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-08-28Fixing 'cnt remove' error when executed in directory ↵Katharina Drexel1-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>
2020-04-28Adding run comment in version command.Daniel Baumann1-0/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-03-08Correcting call of post hooks in container start program to make them ↵Daniel Baumann1-9/+9
actually work, thanks to Simon Spoehel <simon@spoehel.ch>. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-01-21Updating copyright notices for 2020.Daniel Baumann15-15/+15
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2020-01-16Adding verbose option for container start command.Daniel Baumann1-2/+6
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-11-04Adding default hook to unlink console prior start when bindmounting /dev ↵Daniel Baumann1-0/+3
(e.g. in GPU computing cases). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-09-19Tightening Address lookup in container list command for systemd-networkd to ↵Daniel Baumann1-1/+1
not display MACAdresses instead of IPs. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-08-11Fixing a bug where only the last item in lists passed via CLI was evaluated.Simon Spöhel1-9/+9
Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-08-11Fixing a bug where directories were not created for --bind-ro.Simon Spöhel1-1/+1
Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-08-11Removing stray veth links when stopping containers with force.Daniel Baumann1-0/+11
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-08-11Removing stray veth links when starting containers with force.Daniel Baumann1-0/+7
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-04-12Removing explicit protocol for IP adresses in container list command.Daniel Baumann1-5/+5
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-03-09Using C.UTF-8 in container enter command as fallback locale.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-03-02Readding limit command.Daniel Baumann2-10/+294
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-03-02Readding key command.Daniel Baumann1-0/+152
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-03-02Removing a few fixmes that are not needed anymore.Daniel Baumann2-3/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-03-02Removing limit command until its completly tested.Daniel Baumann2-294/+10
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-03-02Removing key command until its completly tested.Daniel Baumann1-152/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-02-23Adding a end message in container create command.Daniel Baumann1-0/+3
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-02-23Using hostname fallback if FQDN is not set.Daniel Baumann4-4/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-02-23Renaming container-tools to compute-tools.Daniel Baumann16-79/+96
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-02-18Adding container log command.Daniel Baumann1-0/+144
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-02-17Adding verbose output when using '-n ALL' options with container commands.Daniel Baumann4-0/+24
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2019-02-17Updating year in copyright notices to 2019.Daniel Baumann14-14/+14
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-07-17Also allowing symlinks for containers, requires systemd 233 or newer (see ↵Daniel Baumann1-1/+1
#805785). Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-06-25Dropping untested arm64 specific settings in container start command.Daniel Baumann1-12/+0
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-27Adding check in container create command to not create any container named ↵Daniel Baumann1-0/+7
'ALL'. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-27Adding 'ALL' as pseudo container name for container start, stop, restart, ↵Daniel Baumann4-0/+73
and remove commands to act on all available container respectivly. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-27Correcting typo in verbose option handling of container remove command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-27Setting dummy SSH_CLIENT variable during container enter to enable ↵Daniel Baumann1-0/+8
conditional shell prompts such as powerline. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-27Adding missing command variable in some container commands.Daniel Baumann2-0/+4
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-27Correcting and simplifying nsenter call in container enter command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-27Calling shell in container enter command directly, replacing ↵Daniel Baumann1-8/+1
container-nsenter helper program. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-05-03Adding -v, --verbose option to container-create command to be used e.g. when ↵Daniel Baumann1-3/+20
mass-creating new containers in a row. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-02-18Adding container remove --allow-stop option to override abort of running ↵Daniel Baumann1-4/+18
containers and stop them prior removal. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-02-18Updating year in copyright information for 2018.Daniel Baumann14-14/+14
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2018-01-19Adding message when creating bind mount directories in container start command.Daniel Baumann1-2/+10
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-12-05Adding SPDX License Identifiers.Daniel Baumann15-0/+30
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
2017-10-31Adding sh shortcut for shell format in container list command.Daniel Baumann1-1/+1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>