github.com/dctrud/umoci@v0.4.3-0.20191016193643-05a1d37de015/doc/site/quick-start/creating-an-image.md (about)

     1  +++
     2  title = "Creating an Image"
     3  weight = 30
     4  +++
     5  
     6  Creating a new image with umoci is fairly simple, and effectively involves
     7  creating an image "husk" which you can then [operate on][workflow] as though it
     8  was a normal image. New images contain no layers, and have a dummy
     9  configuration that should be replaced by a user.
    10  
    11  If you wish to create a new image layout (which contains nothing except the
    12  bare minimum to specify that the image is an OCI image), you can do so with
    13  `umoci init`.
    14  
    15  ```text
    16  % umoci init --layout new_image
    17  ```
    18  
    19  If you wish to create a new image inside the image layout, you can do so with
    20  `umoci new`.
    21  
    22  ```text
    23  % umoci new --image new_image:new_tag
    24  ```
    25  
    26  [workflow]: /quick-start/workflow