Skip to content

hesamfatemipour/congo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CONGO

an attempt to learn and create a basic container in Go.

this repo is based on this example: https://www.infoq.com/articles/build-a-container-golang/

main concepts:

    1- Namespaces: 
        namespaces in linux is the ability to manage the resources and processes, such that a process only sees a specific resources.
        in unix time sharing system namespace is the hostname.

    2- chroot
        changes the current root directory for the running processes.
        
    3- cgroups
         limits and isolates the resource usage of a collection of processes.

Usage:

go run main.go run /bin/bash (may need sudo permission)

About

an attemp to learn and create a basic container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages