docker + tmux = dmux !
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.
Before, you need to create new tmux session.
First, you need to create new container:
$ dmux initAfter 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 stopThis 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 startIf you delete container:
$ dmux deleteYou can save your container as image:
$ dmux save [Image]Binary files are distributed.
You can prepare it standard way:
$ go get install github.com/tcnksm/dmux- jpetazzo/critmux - critmux uses CRIU for stop container.
dmuxuses docker'spauseandunpausecommand.
