Skip to content

abiosoft/dockward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockward

Port forwarding tool for Docker containers.

Typical Dockward use cases include:

  • Port forwarding to containers without published ports.
  • Port forwarding to containers based on a filter.
  • Testing stateless app scaled via docker-compose.

Requirements

Docker 1.10 and docker deamon running.

Installation

Binaries

Download binary for your platform on the releases page.

Source

Requires Go.

$ go get github.com/abiosoft/dockward

Usage

Note: If dockward is not running on Linux or docker host, you will access it via docker host ip (e.g. dockermachine ip). Except --host mode.

Forward port 8080 to port 80 in container amazing_leavitt.

$ dockward 8080 80 name=amazing_levitt

Forward port 8080 to port 80 in containers with label type=nginx.

$ dockward 8080 80 label=type=nginx

Forward port 8080 to a local port 3000.

$ dockward --host 8080 3000

Forward port 8080 to endpoints 127.0.0.1:3000 and 127.0.0.1:3001.

$ dockward --host 8080 127.0.0.1:3000 127.0.0.1:3001

For more.

$ dockward --help

Limitations

  • Dockward is intended for simple local development use cases. It may work for you outside of that.
  • Docker networks created are default settings i.e. bridge/overlay as the case may be. Nothing special.

Why the name ?

Naming is hard, you know.

DockerForward, port forwarding tool for docker containers.

Demonstration Video

TBA

License

Apache 2

About

Port forwarding tool for Docker containers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published