Skip to content

ParfenovIgor/cont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cont

Author

Igor Parfenov

Contact: @Igor_Parfenov

Overview

This is tool for containarization on Linux OS. It supports pulling images for Hub Docker

Tool was built on Ubuntu 22.

Execute cont to get usage information.

Manually get name of your network interface and write it into link file.

Usage

Usage: cont [command]

Commands:

  • list List all local containers
  • setup <name> <size> Create disk file for mounting with given name and size in Mb
  • remove <name> Remove disk file with given name
  • pull <name> <image> Pull given docker image into given disk file name
  • run <name> <command> Run given command in local container with given name

Example

Example for setting alpine OS:

sudo ./cont setup alpine 100
sudo ./cont pull alpine alpine
sudo ./cont run alpine /bin/ash

To setup DNS, you can enter echo "nameserver 8.8.8.8" > /etc/resolv.conf

Build

Enter make to build the tool.

About

A Toy Containerization Tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages