/Docker

Dockerfile Various I'm use!

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

Docker

Docker Image with MegaSdkC++, Aria2, and qBittorrent

This Docker image provides a comprehensive environment for building, running, and testing applications that utilize the MegaSdkC++ library. Additionally, the image includes Aria2 and qBittorrent, enabling you to manage downloads seamlessly.

Features

  • Multi-architecture Support: The image supports various architectures such as AMD64, ARM64, ARMv7, PPC64LE, and S390X, ensuring compatibility across different hardware platforms.

  • Efficient Build Process: The Dockerfile optimizes the installation of MegaSdkC++, Aria2, and qBittorrent, resulting in a lightweight yet feature-rich image.

  • Integrated Download Management: With Aria2 and qBittorrent pre-installed, you can effortlessly manage and control your downloads directly from within the Docker environment.

Usage

  1. Clone Repository: Clone this repository to your local machine:

    git clone https://github.com/troublescope/Docker.git
    cd Docker
  2. Customize Dockerfile: Customize the Dockerfile to meet your project's requirements. Modify package installations, add extra dependencies, or make other adjustments as necessary.

  3. Build Docker Image: Build the Docker image using the following command:

    docker build -t my-megacpp-app .
  4. Run Container: Launch a container based on the newly built image:

    docker run -it --rm my-megacpp-app
  5. Develop and Test: Inside the container, you can use MegaSdkC++, Aria2, and qBittorrent for development, testing, and download management.

Using Aria2 and qBittorrent

To utilize Aria2 and qBittorrent within your Docker environment:

  1. Access qBittorrent Web UI: After running the container, qBittorrent's web UI is accessible at http://localhost:8080 (username: admin, password: adminadmin).

  2. Use Aria2 for Downloads: You can utilize Aria2 to initiate downloads by running commands like:

    aria2c "http://example.com/file.zip"

    This will initiate a download using Aria2.

Dockerfile

Here's a simplified version of the Dockerfile used to create this image:

# Use a specific base image
FROM python:3.11-alpine as build

# ... (rest of your Dockerfile content)

# Set shell to Bash
SHELL ["/bin/bash", "-c"]

# Default command
CMD ["bash"]

Credits

This Dockerfile is based on the work by Troublescope, available at GitHub Repository.

Feedback and Contributions

If you find issues or have suggestions to improve this Docker image, please feel free to submit an issue or pull request on the Docker.

License

This project is licensed under the MIT License.


In the "Using Aria2 and qBittorrent" section, replace `http://example.com/file.zip` with a valid download link for demonstrating Aria2 functionality.

Feel free to expand further on the integration of Aria2 and qBittorrent in the tutorial and provide additional instructions for working with these tools in your Docker environment.