Skip to content

vvoland/docker-plugin-edit

Repository files navigation

docker edit

sudoedit but for files in Docker volumes.

Installation

$ echo "FROM vlnd/docker-edit" | docker buildx build - -o type=local,dest=$HOME/.docker/cli-plugins --pull

Usage

$ docker edit <volume> <file-path-in-volume>

Building

$ make         # Build bin/docker-edit binary
$ make install # Install binary to ~/.docker/cli-plugins

Demo

demo