Skip to content

Instantly share code, notes, and snippets.

@junaidk
junaidk / overview.md
Last active March 2, 2020 07:51
Docker overview
  • Docker overview

    Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly.

    The Docker platform

    Docker provides the ability to package and run an application in a loosely isolated environment called a container. The isolation and security allow you to run many containers simultaneously on a given host. Containers are lightweight because they don’t need the extra load of a hypervisor, but run directly within the host machine’s kernel.

Docker provides tooling and a platform to manage the lifecycle of your containers:

@junaidk
junaidk / Dockerfile
Created January 29, 2021 07:20
Jenkins Image with Docker
FROM jenkins/jenkins:2.263.1
USER root
RUN apt-get update && apt-get install -y sudo
RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers
RUN apt-get install -y rsync && apt-get install -y curl
RUN curl -sSL https://get.docker.com/ | sh
RUN usermod -a -G staff jenkins
@junaidk
junaidk / README.md
Created February 18, 2021 07:31
GlusterFS with virtual disk

step 0

sudo apt-get install -y xfsprogs

sudo apt install software-properties-common sudo add-apt-repository ppa:gluster/glusterfs-7 sudo apt update sudo apt install -y glusterfs-server

step 1

sudo mkdir /mnt/disks

@junaidk
junaidk / remove_hdr_dv.sh
Created August 17, 2025 16:50
This script is designed as a front-end automation tool for removing Dolby Vision (DV) and HDR10+ metadata from video files (mainly .mkv, .mp4, .hevc, .h265). It wraps together several third-party tools and provides a text-menu interface.
#!/usr/bin/env bash
# Lightweight HDR metadata remover (Linux)
# Supports: Dolby Vision (dovi_tool), HDR10+ (hdr10plus_tool), HDR10 (ffmpeg hevc_metadata)
# Uses https://github.com/DonaldFaQ/DDVT/blob/Scripts/DDVT_REMOVER.cmd as inspiration
# Requirements:
# ffmpeg, mkvtoolnix (mkvmerge), gpac (MP4Box), mediainfo
# dovi_tool, hdr10plus_tool
# Run