Skip to main content

A Docker container port forwarding service for Parallels

Project description

Parallels Docker Port Forwarding

Parallels Docker Port Forwarding is a service that automatically manages port forwarding for Docker containers running inside a Parallels VM.

Features

  • Automatically detects running Docker containers and their exposed ports.
  • Sets up port forwarding rules from the host to the Parallels VM.
  • Monitors Docker events and updates port forwarding rules dynamically.

Requirements

Installation

You can install the package using pip:

pip install parallels-docker-port-forwarding

Usage

To start the port forwarding service, run:

parallels-docker-port-forwarding --vm-name "Your VM Name"

If the VM name is not provided, the default VM name 'Ubuntu 22.04.2 (x86_64 emulation)' will be used.

Development

To set up the development environment:

  1. Clone the repository:
git clone https://github.com/imtpot/parallels-docker-port-forwarding.git
cd parallels-docker-port-forwarding
  1. Install dependencies using Poetry:
poetry install
  1. Run the service:
poetry run parallels-docker-port-forwarding --vm-name "Your VM Name"

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parallels_docker_port_forwarding-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file parallels_docker_port_forwarding-0.1.1.tar.gz.

File metadata

File hashes

Hashes for parallels_docker_port_forwarding-0.1.1.tar.gz
Algorithm Hash digest
SHA256 383b6a1545d22be063abc97cecd55b5f5b2fd6f9a651ce649ca36659eb6f52ff
MD5 763ebefbb1623a62741a72ed47765d2f
BLAKE2b-256 e1af8a2a2b03e6d1c3325199599e6223f542e2f60dd5cf5be914e5b811d3d977

See more details on using hashes here.

File details

Details for the file parallels_docker_port_forwarding-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for parallels_docker_port_forwarding-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5855dfa504baa750b2b8b3a936b39f12588e4aae6e58738dfc4476946c419ebc
MD5 3b8dcac4c707837bd0098c725e548e6d
BLAKE2b-256 bedc1cf562051c865e49b4638f1bc41085cb53ed98c3393ff63a23606ceb046b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page