Displaying 3 results from an estimated 3 matches for "docker_target".
2017 Feb 02
7
[PATCH 0/6] dib: various improvements
Hi,
this series improves virt-dib, adding some upstream changes, and
refactoring the handling of output formats.
Thanks,
Pino Toscano (6):
dib: clear up "already provided" message
dib: add --checksum
dib: pass custom mkfs options after the filesystem type
dib: refactor output formats handling
dib: clarify "output:" lines in --machine-readable documentation
dib:
2017 Feb 17
2
[PATCH 1/2] dib: preserve xattrs and SELinux attributes when exporting as tar
...ml b/dib/output_format_docker.ml
index 5303cf9..903ac65 100644
--- a/dib/output_format_docker.ml
+++ b/dib/output_format_docker.ml
@@ -38,7 +38,8 @@ let docker_run_fs (g : Guestfs.guestfs) _ temp_dir =
| Some t -> t in
message (f_"Importing the image to docker as '%s'") docker_target;
let dockertmp = Filename.temp_file ~temp_dir "docker." ".tar" in
- g#tar_out ~excludes:[| "./sys/*"; "./proc/*" |] "/" dockertmp;
+ g#tar_out ~excludes:[| "./sys/*"; "./proc/*" |] ~xattrs:true ~selinux:true
+ "/&quo...
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...command ‘%s’ stopped by signal %d")
csum_tool i
);
done;
diff --git a/dib/output_format_docker.ml b/dib/output_format_docker.ml
index 903ac6539..f48da0f79 100644
--- a/dib/output_format_docker.ml
+++ b/dib/output_format_docker.ml
@@ -29,14 +29,14 @@ let set_docker_target arg = docker_target := Some arg
let docker_check () =
require_tool "docker";
if !docker_target = None then
- error (f_"docker: a target was not specified, use '--docker-target'")
+ error (f_"docker: a target was not specified, use ‘--docker-target’"...