aboutsummaryrefslogtreecommitdiff
path: root/include/docker.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-10 08:36:41 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-10 08:38:56 -0400
commit9cca7f4122619acbbc35df870b6ae9785f72d2c7 (patch)
tree4b5f879552132fe489f941b4fcdf276012cd2470 /include/docker.h
parent657cde7c36b3a4ff8878310792f2a768f5218a63 (diff)
downloadstasis-9cca7f4122619acbbc35df870b6ae9785f72d2c7.tar.gz
Add docker_sanitize_tag()
* Replace invalid docker tag characters with dash ('-')
Diffstat (limited to 'include/docker.h')
-rw-r--r--include/docker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/docker.h b/include/docker.h
index 413bf6d..33726e6 100644
--- a/include/docker.h
+++ b/include/docker.h
@@ -83,5 +83,6 @@ int docker_exec(const char *args, unsigned flags);
int docker_build(const char *dirpath, const char *args, int engine);
int docker_script(const char *image, char *data, unsigned flags);
int docker_save(const char *image, const char *destdir, const char *compression_program);
+void docker_sanitize_tag(char *str);
#endif //OMC_DOCKER_H