Skip to content

Commit

Permalink
Add oci-create-layer man pages
Browse files Browse the repository at this point in the history
Signed-off-by: Lei Jitang <leijitang@huawei.com>
  • Loading branch information
coolljt0725 committed Oct 11, 2016
1 parent c3071ab commit 70f6540
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions cmd/oci-create-layer/oci-create-layer.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
% OCI(1) OCI-CREATE-LAYER User Manuals
% OCI Community
% October 2016
# NAME
oci-create-layer \- Create filesystem changeset

# SYNOPSIS
**oci-create-layer** [child] [parent] [flags]

# DESCRIPTION
`oci-create-layer` creates a filesystem changeset from two layers. It compares child with parent and generates a filsystem diff, pack the diff into a uncompressed tar archive. The output tar archive name is the child name with .tar suffix by default, use `--dest` to specify a custom one.

# OPTIONS
**--help**
Print usage statement

**--dest**
The dest specify a particular filename where the layer write to

# EXAMPLES
```
$ oci-create-layer rootfs-1-s rootfs-1
$ ls
rootfs-1 rootfs-1-s rootfs-1-s.tar
```

# HISTORY
Oct 2016, Originally compiled by Lei Jitang (coolljt0725 at huawei dot com)

0 comments on commit 70f6540

Please sign in to comment.