fdocker

command module
v0.0.0-...-79f2005 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: Apache-2.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Introduction

fdocker is a simple container runc implementation in go

QuickStart

  1. make sure operation system have aufs filesystem
make init

make run

Usage

root@sky_big:~/gopath/src/github.com/sky-big/fdocker# fdocker
NAME:
   fdocker - fdocker is a simple container runtime for function invoke.

USAGE:
   fdocker [global options] command [command options] [arguments...]

VERSION:
   0.0.0

COMMANDS:
     init     Init container process run user's process in container. Do not call it outside
     run      Create a container with namespace and cgroups limit ie: fdocker run -ti [image] [command]
     ps       list all the containers
     logs     print logs of a container
     exec     exec a command into container
     stop     stop a container
     rm       remove unused containers
     network  container network commands
     inspec   inspec a container into
     mem      get a container mem info
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version


root@sky_big:~/gopath/src/github.com/sky-big/fdocker# fdocker run -h
NAME:
   fdocker run - Create a container with namespace and cgroups limit ie: fdocker run -ti [image] [command]

USAGE:
   fdocker run [command options] [arguments...]

OPTIONS:
   --ti              enable tty
   -d                detach container
   -m value          memory limit
   --cpushare value  cpushare limit
   --cpuset value    cpuset limit
   --name value      container name
   -v value          volume
   -e value          set environment
   --net value       container network
   -p value          port mapping
   -u value          user command owner
   --images value    image store path
  1. https://github.com/xianlubird/mydocker

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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