by shigemk2

当面は技術的なことしか書かない

docker fish completion

mkdir -p ~/.config/fish/completions
cp docker.fish ~/.config/fish/completions

こうなる。

 docker images
attach                                 (Attach to a running container)  port                 (Lookup the public-facing port that is NAT-ed to PRIVATE_PORT)
build                               (Build an image from a Dockerfile)  ps                                                                (List containers)
commit                 (Create a new image from a container's changes)  pull                  (Pull an image or a repository from a Docker registry server)
cp   (Copy files/folders between a container and the local filesystem)  push                    (Push an image or a repository to a Docker registry server)

のはいいのですが、fish本体に組み込みたいなあっていう気持ちはあります。

docker/docker.fish at master · docker/docker · GitHub