mirror of
https://github.com/containers/skopeo.git
synced 2025-04-27 19:05:32 +00:00
25 lines
494 B
Go
25 lines
494 B
Go
// 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
|