ilusm.dev

dock

Docker API client, container management, images, volumes, networks.

Load with: use dock

Quick example

use dock

result = dckne("value")
prn(result)

Functions

Client

dckne(opts)

Creates a new instance. Takes opts.

dckcl(c)

Closes or clears. Takes c.

System

dcknf(c)

Performs the operation. Takes c.

dckvr(c)

Performs the operation. Takes c.

dckd0(c)

Performs the operation. Takes c.

dckvn(c, fn)

Performs the operation. Takes c, fn.

Containers

dckp2(c, opts)

Performs the operation. Takes c, opts.

dckne(c, img, opts)

Creates a new instance. Takes c, img, opts.

dckr0(c, img, opts)

Performs the operation. Takes c, img, opts.

dckst(c, id)

Sets a value or starts a process. Takes c, id.

dcks9(c, id, t)

Performs the operation. Takes c, id, t.

dckrs(c, id)

Resets. Takes c, id.

dckkl(c, id, s)

Performs the operation. Takes c, id, s.

dckps(c, id)

Performs the operation. Takes c, id.

dcknp(c, id)

Performs the operation. Takes c, id.

dckr1(c, id, v)

Performs the operation. Takes c, id, v.

dckwt(c, id)

Performs the operation. Takes c, id.

dcklg(c, id, opts)

Performs the operation. Takes c, id, opts.

dckt0(c, id)

Performs the operation. Takes c, id.

dcks7(c, id)

Performs the operation. Takes c, id.

dckn5(c, id)

Performs the operation. Takes c, id.

dckdf(c, id)

Performs the operation. Takes c, id.

dckcp(c, id, src, dst)

Performs the operation. Takes c, id, src, dst.

dckc3(c, id, src, dst)

Performs the operation. Takes c, id, src, dst.

dckrn(c, id, nm)

Performs the operation. Takes c, id, nm.

dckpd(c, id, cfg)

Performs the operation. Takes c, id, cfg.

dckx1(c, id, opts)

Performs the operation. Takes c, id, opts.

dckx0(c, eid)

Performs the operation. Takes c, eid.

dckxc(c, eid, w, h)

Performs the operation. Takes c, eid, w, h.

dcktt(c, id, opts)

Performs the operation. Takes c, id, opts.

Images

dckmg(c)

Performs the operation. Takes c.

dckbl(c, ctx, opts)

Performs the operation. Takes c, ctx, opts.

dckpl(c, name)

Performs the operation. Takes c, name.

dckp1(c, name)

Performs the operation. Takes c, name.

dcktg(c, src, tgt)

Performs the operation. Takes c, src, tgt.

dckrm(c, id, force)

Removes an item. Takes c, id, force.

dckp0(c)

Performs the operation. Takes c.

dckhs(c, id)

Performs the operation. Takes c, id.

dckns(c, id)

Performs the operation. Takes c, id.

dckmp(c, path)

Performs the operation. Takes c, path.

dckxp(c, id, path)

Performs the operation. Takes c, id, path.

Volumes

dckv3(c)

Performs the operation. Takes c.

dckv1(c, nm, opts)

Performs the operation. Takes c, nm, opts.

dckv0(c, nm)

Performs the operation. Takes c, nm.

dckv2(c, nm, force)

Performs the operation. Takes c, nm, force.

dckvl(c)

Validates. Takes c.

Networks

dckn6(c)

Performs the operation. Takes c.

dckn3(c, nm, opts)

Performs the operation. Takes c, nm, opts.

dckn1(c, id)

Performs the operation. Takes c, id.

dckn4(c, id)

Performs the operation. Takes c, id.

dckn0(c, net, ctnr)

Performs the operation. Takes c, net, ctnr.

dckn2(c, net, ctnr)

Performs the operation. Takes c, net, ctnr.

dcknt(c)

Performs the operation. Takes c.

Compose-like multi-container

dckc0(c, cfg)

Performs the operation. Takes c, cfg.

dckcm(c, prj)

Performs the operation. Takes c, prj.

Registry

dckth(c, reg, usr, pwd)

Performs the operation. Takes c, reg, usr, pwd.

dcksr(c, term, reg)

Performs the operation. Takes c, term, reg.

Secrets

dcks2(c, nm, data)

Performs the operation. Takes c, nm, data.

dcks6(c)

Performs the operation. Takes c.

dcksc(c, id)

Performs the operation. Takes c, id.

dcks3(c, id)

Performs the operation. Takes c, id.

Configs

dckcf(c, nm, data)

Performs the operation. Takes c, nm, data.

dckc2(c)

Performs the operation. Takes c.

dckc1(c, id)

Performs the operation. Takes c, id.

Swarm (if available)

dcks0(c, opts)

Performs the operation. Takes c, opts.

dcks1(c, token, addr)

Performs the operation. Takes c, token, addr.

dcksw(c, force)

Performs the operation. Takes c, force.

dcknd(c)

Performs the operation. Takes c.

dcks4(c, nm, cfg)

Performs the operation. Takes c, nm, cfg.

dcks8(c)

Performs the operation. Takes c.

dcks5(c, id)

Performs the operation. Takes c, id.

dcksv(c, id, cfg)

Performs the operation. Takes c, id, cfg.

dckts(c)

Performs the operation. Takes c.

Monitoring

dcktp(c)

Performs the operation. Takes c.

Prune everything

dckpr(c)

Processes or prints. Takes c.

Notes

  • Docker/container management - build, run, inspect, stop.