Commit 9cc32008 authored by root's avatar root

.

parent d5d64826
......@@ -14,7 +14,7 @@ if (!$containerName)
}
$date = date("Ymd_His");
$cmd = "docker commit -p {$containerName} {$containerName}:{$date} -m "pty_docker_save {$containerName}:{$date}";
$cmd = "docker commit -p {$containerName} {$containerName}:{$date} -m \"pty_docker_save {$containerName}:{$date}\"";
echo "# {$cmd}\n";; system ($cmd);
$cmd = "docker save ${containerName}:{$date} | gzip > /root/docker_{$containerName}_{$date}.tgz";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment