Skip to main content

3 posts tagged with "docker"

View All Tags

Lightweight CI/CD with Git Hooks and Docker Compose

· 4 min read
Frank Chen
Backend & Applied ML Engineer

For small projects or self-hosted apps, using a full-fledged CI/CD tool like GitHub Actions or Jenkins can be overkill. What if you could have automated deployments without any third-party service, and all you need is Git and SSH?

In this post, we’ll walk through setting up a lightweight, no-cost CI/CD pipeline using Git hooks and Docker Compose, with deployments triggered by a simple git push to your production server.

Installing FFmpeg on Nvidia CUDA container

· 2 min read
Frank Chen
Backend & Applied ML Engineer

This documentation describes to install FFmpeg on nvidia/cuda container to use the Nvidia GPU to accelerate encoding.

If you want to know how to install FFmpeg with NVIDIA GPU on Linux, go to see that.

FFmpeg can support hardware-based decoding and encoding for Nvidia GPU card. With the help of Nvidia GPU, h264_nvenc can lead encoding speed with 5x faster than libx264 in GTX1080 card.

Let's see how to install everything one by one on the Nvidia CUDA Docker container nvidia/cuda:12.2.0-devel-ubuntu20.04, in which CUDA toolkit and GPU driver are already included.