mkrootfs

command
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

README

mkrootfs


This tool was written to allow the creation of root filesystems from docker image names. The binary will download the docker image and untar them in the destination directory provided.

Usage:
  --dest <destination of rootfs> <image repository>

Flags:
      --cacerts string    The location of the CA certs to use for TLS authentication with the registry. (default "/registry-ca-certs.pem")
      --dest string       The destination of the rootfs that we will untar the image to. (default "rootfs")
  -h, --help              help for --dest
      --registry string   The registry to pull the image from. (default "index.docker.io")
      --tag string        The tag of the image to pull. (default "latest")

panic: Requires an image repository as argument

Example usage: mkrootfs library/alpine --dest alpine-rootfs --tag=3.6

Note: The destination rootfs directory needs to be created and empty.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL