docker-inject

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2015 License: MIT Imports: 10 Imported by: 0

README

Docker Inject Build Status

Copy files/directories from hosts to running Docker containers.

Description

Surely you sometimes desire to copy files from your host machine to running Docker containers. Indeed docker cp provide the way to copy files from containers to hosts, but we have no command for the retrorse copying.

One of the ways to transport objects is to mount a directory by the -v option of docker run and use the directory as a portal. Meanwhile this method is, as you might notice, completely helpless for running containers.

Docker Inject provide the way to copy objects from hosts to running containers. With the command, you are able to inject not only a single file but also directories recursively.

Demo

asciicast

Requirement

Installation

Download the appropriate zip package for your system.

After downloading, unzip the package and copy the docker-inject binary to somewhere on the PATH so that it can be executed.

Incidentally, docker-inject is written in Go, thus you can build the latest version from the source by:

$ go get https://github.com/y-taka-23/docker-inject

License

MIT

Author

y-taka-23

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL