Skip to content

hepsw/dmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dmux

docker + tmux = dmux !

Synopsis

dmux create docker container environment with tmux pane. You can try some commands there and destroy it. You can also save your tried status as Docker image.

Demo

Requirement

Command

Before, you need to create new tmux session.

First, you need to create new container:

$ dmux init

After that new tmux pane is created and docker container environment is there. You can try some command or enjoy Docker environment.

If you want pause container, from anoher window:

$ dmux stop

This will pause container, it won't send SIGTERM and SIGKILL. It will freeze cotainer process with cgroup freezer. You can restart process from the point where you exec stop.

If you want to unpauze container and attach it again:

$ dmux start

If you delete container:

$ dmux delete

You can save your container as image:

$ dmux save [Image]

Installation

Binary files are distributed.

Download

Development

You can prepare it standard way:

$ go get install github.com/tcnksm/dmux

VS.

  • jpetazzo/critmux - critmux uses CRIU for stop container. dmux uses docker's pause and unpause command.

Author

tcnksm

Releases

No releases published

Packages

No packages published