🐳 docker you know but with TUI.

Overview

🐳 docker you know but with TUI.

preview

this app is inspired from lazydocker

Installation

Using script

  • Shell
curl -sL https://git.io/doko | bash
  • PowerShell
iwr -useb https://git.io/doko-win | iex

or with resto

# shell
resto install https://git.io/doko

# powershell
resto install https://git.io/doko-win

then restart your powershell

Go package manager

go install github.com/abdfnx/[email protected]

Via Docker

docker run -itv /var/run/docker.sock:/var/run/docker.sock dokocli/doko
docker run -itv /var/run/docker.sock:/var/run/docker.sock dokocli/doko <FLAGS>
docker run -itv /var/run/docker.sock:/var/run/docker.sock dokocli/doko <CMD>

full container:

docker run -itv /var/run/docker.sock:/var/run/docker.sock dokocli/doko-full

Usage

  • Open Doko UI
doko
  • With specific endpoint
doko --endpoint 
   

   
  • Use another docker engine version
doko --engine "1.40"
  • Log file path
doko --log-file /home/doko/my-log.log

Flags

    --ca string          The path to the TLS CA (ca.pem)
-c, --cert string        The path to the TLS certificate (cert.pem)
-e, --endpoint string    The docker endpoint to use (default "unix:///var/run/docker.sock")
-g, --engine string      The docker engine version (default "1.41")
    --help               Help for doko
-k, --key string         The path to the TLS key (key.pem)
-l, --log-file string    The path to the log file
-o, --log-level string   The log level (default "info")

Keybindings (Shortcuts)

name mission key(s)
all quit q
all change panel Tab or Shift + Tab
list panels next entry j or ↓
list panels next page Ctrl or f
list panels previous entry k or ↑
list panels previous page Ctrl or b
list panels scroll to top g
list panels scroll to bottom G
image list pull image p
image list import image i
image list save image s
image list load image Ctrl + l
image list find images f
image list delete image d
image list filter image /
image list create container c
image list inspect image Enter
image list refresh image list Ctrl + r
container list export container e
container list commit container c
container list filter image /
container list exec container cmd Ctrl + e
container list start container t
container list stop container s
container list kill container Ctrl + k
container list delete container d
container list inspect container Enter
container list rename container r
container list refresh container list Ctrl + r
container logs show container logs Ctrl + l
volume list create volume c
volume list delete volume d
volume list filter volume /
volume list inspect volume Enter
volume list refresh volume list Ctrl + r
network list delete network d
network list inspect network Enter
network list filter network /
pull image pull image Enter
pull image close panel Esc
create container next input box Tab
create container previous input box Shift + Tab
detail cursor dwon j
detail cursor up k
detail next page Ctrl or f
detail previous page Ctrl or b
search images search image Enter
search images close panel Esc
search result next image j
search result previous image k
search result pull image Enter
search result close panel q
create volume close panel Esc
create volume next input box Tab
create volume previous input box Shift + Tab
Issues
  • if `buildVersion` is empty then don't check new versions

    if `buildVersion` is empty then don't check new versions

    if buildVersion == "" {
      buildVersion = "unknown"
    }
    
    opened by david-tomson 0
  • Bump github.com/tidwall/gjson from 1.12.1 to 1.13.0

    Bump github.com/tidwall/gjson from 1.12.1 to 1.13.0

    Bumps github.com/tidwall/gjson from 1.12.1 to 1.13.0.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
Releases(v0.1.0)
  • v0.1.0(Jan 5, 2022)

    Welcome

    this is the first release of doko, enjoy

    Changelog

    • 6b807a5 return to secrets.ACCESS_TOKEN and use it in release workflow
    • 45e1f8b fix all windows issues: like docker windows streamer and other
    • 3313202 update docker windows stream package name to stream
    • 912628b chmod scripts/tag.sh to 755, update the github token in release ci
    • f1e123e fix doko show_update prop in version checker
    • 85276d6 add 🔍 Checking for updates spinner to version checker
    • a91bc71 finish from release github workflow, create the security policy
    • 38445fa create the code owners file of doko (@abdfnx)
    • c57b1f5 create the Code of Conduct of doko
    • b75a97b configure go github workflow for doko
    • b8ed48a update doko info display
    • 17b6a2c add doko logo to .github, add doko README
    • d0c4eca configure dependabot for doko
    • 4308046 create codeql code scanning workflow
    • 6cd5fba add goreleaser config to doko
    • 3284f3e add the Dockerfile of doko-full image, add new tasks to Makefile
    • 25f84fc configure and create docker image for doko 🐳
    • 844eef6 add source builders, add gitpod config file
    • 9c45e3e build installers: create and build doko script installers
    • b680704 add scripts: add tag and date scripts for doko
    • f822548 add config files: add editorconfig and golang ci config files
    • 015cf0f new feature: add doko settings command to Doko CLI
    • 9401dbe big update: add version checker for Doko CLI & Doko UI
    • 8ab34d7 fix root command issues, update doko flags
    • bf8d55f big updates and fixes: create doko cli, fix all errors and bugs
    • cf96eed finish from doko core UI, and link every packages and functions
    • fa61adf finally finish from doko ui key bindings ⌨️
    • 3a4b844 rename to resources in ui.go, create docker networks UI
    • 8a8ddd1 create docker containers doko ui in core package
    • dcca7d7 now docker images ui is finished, create core/searchImages.go file
    • 608d475 informations of doko ui is created successfully
    • 7e872e5 create newVolumes, setKeybinding, entries and more in volumes ui
    • 149178d finish from docker tasks ui in core package
    • 1ab1e16 create docker tasks, add New function to ui package
    • 3cfc153 start build docker container struct
    • 0ba78b9 create docker images and networks apis and add it to doko ui
    • 639f5dc add navigate to state struct, start building core/volumes
    • 7835556 update modfile, start building navigate keybindings
    • c820a75 create doko ui panel in core package
    • 30db7c1 finish from ios library, create windows docker stream
    • bd11cc5 add new go modules, create the main iostreams funcs
    • 42987b3 finish from tty_size of iostreams in ios package
    • fd6cc0c new go modules, start building core pkg, start build iostreams
    • e84507b finish from docker containers api and finish from docker package
    • eab167f finish from docker images api in docker package
    • 772922a create docker volume api in docker package of doko
    • 77dc817 build docker network api and finish from it in docker package
    • adca1a2 new file: docker logs in docker package
    • 3108a6c new go modules, start build docker client in docker package
    • c567e2a add streamOut and stream functions and finish from stream pkg
    • db13ec8 new function: streamIn in docker stream package
    • c39ef28 create size of tty functions in docker stream package
    • efae79c add SetRawTerminal function to docker stream package
    • 5ec8b97 create main streamer of doko, create unix stream, add docker/stream/vars.go
    • 97904ca update go modules, create in & out streams for docker
    • 27b7e5a start build docker packagee by create stream package
    • 20dd612 tidy the go modfile, finish from shared package, add new modules
    • 99188e5 add GetEnv, ParseDateToString, ParseSizeToString funcs
    • 37b8018 start building the main shared file
    • 758e968 create shared constants, build windows shared functions
    • 46d2373 use doko/log package in unix shared with new function
    • 82fa53a add new modules, create logger package, rename to errors.go
    • 03bbdf1 create the shared errors
    • 8260ee6 start build shared package with unix
    • b598ac6 add main.go
    • 29f1646 install docker deps like docker, distribution and go-connections
    • 57216c6 Initial commit

    Full Changelog: https://github.com/abdfnx/doko/commits/v0.1.0

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(2.30 KB)
    doko_freebsd_v0.1.0_386.zip(7.13 MB)
    doko_freebsd_v0.1.0_amd64.zip(7.31 MB)
    doko_freebsd_v0.1.0_arm.zip(6.87 MB)
    doko_freebsd_v0.1.0_arm64.zip(6.84 MB)
    doko_linux_v0.1.0_386.zip(7.16 MB)
    doko_linux_v0.1.0_amd64.zip(7.45 MB)
    doko_linux_v0.1.0_arm.zip(6.91 MB)
    doko_linux_v0.1.0_arm64.zip(6.87 MB)
    doko_macos_v0.1.0_amd64.zip(7.33 MB)
    doko_macos_v0.1.0_arm64.zip(7.06 MB)
    doko_v0.1.0_386.apk(7.16 MB)
    doko_v0.1.0_386.deb(7.16 MB)
    doko_v0.1.0_386.rpm(7.15 MB)
    doko_v0.1.0_amd64.apk(7.45 MB)
    doko_v0.1.0_amd64.deb(7.45 MB)
    doko_v0.1.0_amd64.rpm(7.44 MB)
    doko_v0.1.0_arm.apk(6.90 MB)
    doko_v0.1.0_arm.deb(6.90 MB)
    doko_v0.1.0_arm.rpm(6.90 MB)
    doko_v0.1.0_arm64.apk(6.87 MB)
    doko_v0.1.0_arm64.deb(6.87 MB)
    doko_v0.1.0_arm64.rpm(6.86 MB)
    doko_windows_v0.1.0_386.zip(7.30 MB)
    doko_windows_v0.1.0_amd64.zip(7.52 MB)
    doko_windows_v0.1.0_arm.zip(7.01 MB)
    doko_windows_v0.1.0_arm64.zip(6.93 MB)
Owner
Abdfn
someone likes CLI/TUI apps, (CI/CD) server-sides, and backend.
Abdfn
Docker-based remote code runner / 基于 Docker 的远程代码运行器

Docker-based remote code runner / 基于 Docker 的远程代码运行器

E99p1ant 32 Dec 15, 2021
ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run, exec, cp, logs, stop)

English / 日本語 ecsk ECS + Task = ecsk ?? ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run

null 83 Jan 13, 2022
Hassle-free minimal CI/CD for git repositories with docker or docker-compose projects.

GIT-PIPE Hassle-free minimal CI/CD for git repos for docker-based projects. Features: zero configuration for repos by default automatic encrypted back

Aleksandr Baryshnikov 51 Oct 8, 2021
Tool to convert docker-compose files to set of simple docker commands

docker-decompose Tool to convert docker-compose files to set of simple docker commands. Install Use go get to install the latest version of the librar

Liri S 0 Jan 13, 2022
Go-http-server-docker - Simple sample server using docker and go

go-http-server-docker Simple sample webserver using docker and go.

null 0 Jan 8, 2022
A TUI interface to navigate and view OpenShift 4 must-gather logs

MGR "Must Gather Reader" MGR "not the final name" is a simple TUI interface to navigate and view OpenShift 4 must-gather files. How to run it: Downloa

Amr Elganzory 5 Jan 10, 2022
A Docker image that allows you to use Hetzner DNS as a DynDNS Provider

Docker Hetzner DDNS This Docker image will allow you to use the Hetzner DNS Service as a Dynamic DNS Provider (DDNS). How does it work? The Go script

Matthias Kutz 1 Dec 30, 2021
:recycle: Now you can easily rollback to previous deployed images whatever you want on k8s environment

EasyRollback EasyRollback is aim to easy rollback to previous images that deployed on k8s environment Installation You should have go installation fir

Trendyol Open Source 91 Nov 22, 2021
sleuth checks that you declared a slice with length and you are trying append to the slice.

sleuth sleuth detects when an append is used on a slice with an initial size. Instruction go install github.com/sivchari/sleuth/cmd/sleuth Usage packa

sivchari 11 Sep 15, 2021
Matheus Fidelis 2 Jan 8, 2022
This is Paul, but in GO!

This is Paul. Overview This repo contains everything that makes Paul, Paul! TODO Here is what we still need to do to make Paul a real boy. Add securit

Turnbros 0 Jan 11, 2022
Copy files and artifacts via SSH using a binary, docker or Drone CI.

drone-scp Copy files and artifacts via SSH using a binary, docker or Drone CI. Feature Support routines. Support wildcard pattern on source list. Supp

Bo-Yi Wu 93 Dec 23, 2021
Vilicus is an open source tool that orchestrates security scans of container images(docker/oci) and centralizes all results into a database for further analysis and metrics.

Vilicus Table of Contents Overview How does it work? Architecture Development Run deployment manually Usage Example of analysis Overview Vilicus is an

Ederson Brilhante 74 Dec 1, 2021
Reward is a Swiss Army knife CLI utility for orchestrating Docker based development environments.

Reward Reward is a Swiss Army knife CLI utility for orchestrating Docker based development environments. It makes possible to run multiple local envir

null 42 Jan 13, 2022
Fast docker image distribution plugin for containerd, based on CRFS/stargz

[ ⬇️ Download] [ ?? Browse images] [ ☸ Quick Start (Kubernetes)] [ ?? Quick Start (nerdctl)] Stargz Snapshotter Read also introductory blog: Startup C

containerd 516 Jan 14, 2022
Docker LNMP (Nginx, PHP7/PHP5, MySQL, Redis)

DNMP(Docker + Nginx + MySQL + PHP7/5 + Redis)是一款全功能的LNMP一键安装程序。 使用前最好提前阅读一遍目录,以便快速上手,遇到问题也能及时排除。

Gary Meng 2.9k Jan 17, 2022
Testcontainers is a Golang library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.

When I was working on a Zipkin PR I discovered a nice Java library called Testcontainers. It provides an easy and clean API over the go docker sdk to

null 1.2k Jan 12, 2022
The lazier way to manage everything docker

A simple terminal UI for both docker and docker-compose, written in Go with the gocui library. This Just In: Github Sponsors is matching every donatio

Jesse Duffield 21.5k Jan 22, 2022
A tool to restart a Docker container with a newer version of the image

repull A tool to restart a Docker container with a newer version of an image used by the container Often you may need to pull a newer version of an im

Eugene 20 Oct 20, 2021