mirror of
https://github.com/containers/skopeo.git
synced 2025-06-27 07:07:31 +00:00
commit
dbb47e6bb6
24
doc.go
Normal file
24
doc.go
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// Package skopeo provides libraries and commands to interact with containers images.
|
||||||
|
//
|
||||||
|
// package main
|
||||||
|
//
|
||||||
|
// import (
|
||||||
|
// "fmt"
|
||||||
|
//
|
||||||
|
// "github.com/projectatomic/skopeo/docker"
|
||||||
|
// )
|
||||||
|
//
|
||||||
|
// func main() {
|
||||||
|
// img, err := docker.NewDockerImage("fedora", "", false)
|
||||||
|
// if err != nil {
|
||||||
|
// panic(err)
|
||||||
|
// }
|
||||||
|
// b, err := img.Manifest()
|
||||||
|
// if err != nil {
|
||||||
|
// panic(err)
|
||||||
|
// }
|
||||||
|
// fmt.Printf("%s", string(b))
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// TODO(runcom)
|
||||||
|
package skopeo
|
Loading…
Reference in New Issue
Block a user