Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Nginx Proxy | 16,893 | 3 days ago | 451 | mit | Python | |||||
Automated nginx proxy for Docker containers using docker-gen | ||||||||||
Rustscan | 9,432 | 19 days ago | 17 | April 27, 2022 | 117 | gpl-3.0 | Rust | |||
🤖 The Modern Port Scanner 🤖 | ||||||||||
Kafka Docker | 6,521 | 7 days ago | 121 | apache-2.0 | Shell | |||||
Dockerfile for Apache Kafka | ||||||||||
Netshoot | 5,860 | 14 days ago | 20 | apache-2.0 | Shell | |||||
a Docker + Kubernetes network trouble-shooting swiss-army container | ||||||||||
Maildev | 3,886 | 54 | 26 | 7 days ago | 44 | May 18, 2022 | 111 | other | SCSS | |
:mailbox: SMTP Server + Web Interface for viewing and testing emails during development. | ||||||||||
Ufw Docker | 2,681 | 4 days ago | 48 | gpl-3.0 | Shell | |||||
To fix the Docker and UFW security flaw without disabling iptables | ||||||||||
Play With Docker | 2,488 | 20 days ago | 10 | September 07, 2021 | 78 | mit | JavaScript | |||
You know it, you use it, now it's time to improve it. PWD!. | ||||||||||
Youtubedl Material | 1,825 | 2 days ago | 218 | mit | TypeScript | |||||
Self-hosted YouTube downloader built on Material Design | ||||||||||
Docker Registry Frontend | 1,520 | 2 years ago | 82 | mit | JavaScript | |||||
Browse and modify your Docker registry in a browser. | ||||||||||
Discourse_docker | 1,497 | 10 days ago | 19 | mit | Shell | |||||
A Docker image for Discourse |
A small bash script that makes it easier to expose ports between docker-machine (VirtualBox or macOS hypervisor like xhyve, HyperKit etc.) and the host when using Docker Machine on macOS. The script is called pf
which stands for "port forward". You can also read more on this blog.
$ pf 8080
Forwards port 8080 in the container to port 8080 on the host in docker-machine environment default
by opening an SSH connection to VirtualBox in the background.
If you run into this error:
Host does not exist: "default"
you'll need to specify the name of your docker-machine environment. For example:
$ pf 8080 -e dev
This will use the dev
docker-machine environment.
If you've started port forwarding in the background (default) you can easily stop it using:
$ pf 8080 -s
Note that you don't need to specify an environment (-e
) for this to work.
You can map the docker port to another port on the host like this:
$ pf 8090:8080
This will map port 8090 on the host to port 8080 running in the container.
You can also start the port forwarding process in the foreground:
$ pf 8080 -f
If you do this you'll see the docker-machine and once it's shutdown the port forwarding is also stopped automatically (i.e. no need to run pf 8080 -s
).
Run pf -h
to for more options
If you need more advanced options just use the vanilla docker-machine
command. The purpose of pf
is to make it really easy to do the most basic things.